acf/schema/data

acf/schema/data

Hook Type: filter

See hook in core

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

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

  • /src/AI/GEO/Outputs/Posts.php line 265
    		 * @param array   $jsonld_data The JSON-LD data array.
    		 * @param WP_Post $post        The post object.
    		 * @param string  $post_type   The post type.
    		 */
    		$jsonld_data = apply_filters( 'acf/schema/data', $jsonld_data, $post, $post_type );
    
    		// Only output if we have data after filtering.
    		if ( empty( $jsonld_data ) ) {
    			return;
    		}