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 #
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;
}
);