apply_filters( "learndash_element_lazy_load_admin_{$_GET[‘post_type’]}_filters",  boolean $lazy_load )

Filters whether to lazy load admin settings for a post type or not.

Description #

The dynamic portion of the hook $_GET['post_type'] refers to the post type slug.

Parameters #


(boolean) Whether to lazy load or not.

Source #

File: includes/admin/ld-admin.php

Examples #

 * Example usage for learndash_element_lazy_load_admin_{$_GET['post_type']}_filters filter.
	function( $lazy_load ) {
		// May add any custom logic using $lazy_load.

		// Always return $lazy_load.
		return $lazy_load;