beans_uikit_dequeue_theme

Dequeue a UIkit theme.

This function must be called in the ‘beans_uikit_enqueue_scripts’ action hook.

beans_uikit_dequeue_theme( string $id )

Return: (bool) Will always return true.

Parameters

NameTypeRequiredDefaultDescription
$idstringtrue-The id of the theme to dequeue.

Source

function beans_uikit_dequeue_theme( $id ) {

	global $_beans_uikit_enqueued_items;

	unset( $_beans_uikit_enqueued_items['themes'][ $id ] );

}