block_lab_override_theme_template

block_lab_override_theme_template

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: block-lab.1.1.2

apply_filters('block_lab_override_theme_template') is found 1 times:

  • /php/helpers.php line 156
    		$located = block_lab_locate_template( $templates );
    	}
    
    	if ( ! empty( $located ) ) {
    		$theme_template = apply_filters( 'block_lab_override_theme_template', $located );
    
    		// This is not a load once template, so require_once is false.
    		load_template( $theme_template, false );
    	} else {
    		if ( ! current_user_can( 'edit_posts' ) ) {
    			return;