wpseo_json_ld_output, $deprecated_data,

wpseo_json_ld_output, $deprecated_data,

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-seo.28.1

apply_filters('wpseo_json_ld_output, $deprecated_data,') is found 2 times:

  • /src/presenters/schema-presenter.php line 35
    		 *
    		 * @param mixed  $deprecated If false or an empty array is returned, disable our output.
    		 * @param string $empty
    		 */
    		$return = \apply_filters( 'wpseo_json_ld_output', $deprecated_data, '' );
    		if ( $return === [] || $return === false ) {
    			return '';
    		}
    
    		/**
    		 * Action: 'wpseo_json_ld' - Output Schema before the main schema from Yoast SEO is output.
    
  • /src/schema/application/configuration/schema-configuration.php line 138

    Warning: Undefined array key 142 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 143 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

     
    		/**
    		 * Filter documented in Schema_Presenter::present().
    		 */
    		$filtered_schema = \apply_filters( 'wpseo_json_ld_output', $deprecated_data, '' );
    
    		return ( $filtered_schema === [] || $filtered_schema === false );
    	}
    }