RankMath snippet example fix

drkskwlkr Sep 12th, 2019 (edited) 274 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Add Brand for Products.
  2. add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
  3.     $entity['brand'] = 'Rank Math' ;
  4.     return $entity;
  5. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand