Browse: Home / Hooks /

learndash_responsive_video_post_types

This hook has been deprecated.

apply_filters_deprecated( '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: includes/deprecated/5.0.0/functions.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;
	}
);
 

Changelog #

Changelog
Version Description
5.0.0 Introduced. This hook has been deprecated.