Support » Plugin: WP Ultimate Recipe » Strip Out JSON Metadata

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Brecht

    (@brechtvds)

    Hi there,

    Make sure the “Metadata Type” is set to “JSON-LD” only on the Recipes > Settings > Recipe Template > Recipe Box page and then try adding the following code to your theme’s functions.php file:

    function wpurp_remove_recipe_metadata( $metadata ) {
        return array();
    }
    add_filter( 'wpurp_recipe_metadata', 'wpurp_remove_recipe_metadata' );

    Kind regards,
    Brecht

    WOW, thank you, Brecht! I am SO impressed. It worked perfectly. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Strip Out JSON Metadata’ is closed to new replies.