Browse: Home / Hooks /

learndash_responsive_video_post_types

apply_filters( 'learndash_responsive_video_post_types',  array $post_types )

Filters Responsive video supported post types.


Description #


Parameters #

$post_types

(array) Array of supported post type.


Source #

File: themes/ld30/includes/helpers.php


Examples #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 <?php
/**
 * Example usage for learndash_responsive_video_post_types filter.
 */
add_filter(
	'learndash_responsive_video_post_types',
	function( $post_types ) {
		// May add any custom logic using $post_types.

		// Always return $post_types.
		return $post_types;
	}
);