code_snippets/execute_snippets

code_snippets/execute_snippets

Hook Type: filter

See hook in core

Displaying hooks found in version: code-snippets.2.13.3

apply_filters('code_snippets/execute_snippets') is found 1 times:

  • /php/snippet-ops.php line 382
     */
    function execute_active_snippets() {
    
    	/* Bail early if safe mode is active */
    	if ( defined( 'CODE_SNIPPETS_SAFE_MODE' ) && CODE_SNIPPETS_SAFE_MODE || ! apply_filters( 'code_snippets/execute_snippets', true ) ) {
    		return false;
    	}
    
    	/** @var wpdb $wpdb */
    	global $wpdb;
    	$db = code_snippets()->db;