acf/schema/debug

acf/schema/debug

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.8.0

apply_filters('acf/schema/debug') is found 1 times:

  • /src/AI/GEO/Outputs/Posts.php line 56
    		 * Filters whether to output debug comments in HTML
    		 *
    		 * @param bool $debug Whether to output debug comments. Default false.
    		 */
    		$debug = apply_filters( 'acf/schema/debug', false );
    
    		// Only output on singular posts/pages.
    		if ( ! is_singular() ) {
    			if ( $debug ) {
    				echo "<!-- ACF AI JSON-LD: Not a singular post/page -->\n";
    			}