Browse: Home / Functions /

learndash_post_type_search_param

learndash_post_type_search_param( string $post_type = '',  string $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: ''

$search_param

(string) (Optional) Search parameter.

Default value: ''


Return #

(boolean) true/false.


Source #

File: includes/ld-misc-functions.php


Changelog #

Changelog
Version Description
3.0.0 Introduced.