learndash_post_type_search_param

learndash_post_type_search_param( string $post_type = '',  $search_param = '' )

Utility function to check if a LearnDash post type supports Search and extra parameter.


Description #


Parameters #

$post_type

(string) (Optional) LearnDash Post Type.

Default value: ''


Return #

(boolean) true/false.


Source #

File: includes/ld-misc-functions.php


Changelog #

Changelog
Version Description
3.0 Introduced.