Woocommerce Brand Dropdown for Custom Text?

#8431
  • Resolved Paul I
    Rank Math free

    This would make life so much easier. Is there any way to work this into the plugin?

    Thank you,

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math today.

    This is a great feature request and I will pass it on to our dev team.
    Please note that you can set a custom product brand by making use of the following code in your theme’s functions.php file:

    /**
     * Filter to add Brand Name for Products.
     *
     * @param array $entity Snippet Data
     * @return array
     */
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        $entity['brand'] = 'Rank Math;
        return $entity;
    });

    I hope this info helps. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Woocommerce Brand Dropdown for Custom Text?’ is closed to new replies.