learndash_load_admin_assets

apply_filters( 'learndash_load_admin_assets',  boolean $load_admin_assets )

Filters whether to load the admin assets or not.


Description #


Parameters #

$load_admin_assets

(boolean) Whether to load admin assets.


Source #

File: includes/admin/ld-admin.php


Examples #

 <?php
/**
 * Example usage for learndash_load_admin_assets filter.
 */
add_filter(
	'learndash_load_admin_assets',
	function( $load_admin_assets ) {
		// May add any custom logic using $load_admin_assets.

		// Always return $load_admin_assets.
		return $load_admin_assets;
	}
);