apply_filters( 'learndash_element_lazy_load_admin', boolean $lazy_load )
Filters whether to lazy load admin settings or not.
Contents
Description #
Parameters #
- $lazy_load
-
(boolean) Whether to lazy load or not.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_element_lazy_load_admin filter.
*/
add_filter(
'learndash_element_lazy_load_admin',
function( $lazy_load ) {
// May add any custom logic using $lazy_load.
// Always return $lazy_load.
return $lazy_load;
}
);