drkskwlkr

RankMath snippet example fix

Sep 12th, 2019
812
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