Title: custom_label
Last modified: November 25, 2020

---

# custom_label

 *  [annawdesign](https://wordpress.org/support/users/annawdesign/)
 * (@annawdesign)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/custom_label/)
 * how do you replace instead of custom_label_0 / store_code?
    I need it for the
   Google merchant feed
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom_label%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Antonino Scarfì](https://wordpress.org/support/users/antoscarface/)
 * (@antoscarface)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/custom_label/#post-13876048)
 * Hi,
 * you can use this hook:
 *     ```
       add_filter('aepc_feed_item', function($fields, $item) {
   
       	// Use key to re-call a parameter and give the value you want
       	$fields['g:store_code'] = $fields['g:custom_label_0'];
   
       	// Use unset to remove a field if you need
       	unset($fields['g:custom_label_0']);
   
       	return $fields;
       }, 10, 2);
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘custom_label’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pixel-caffeine_e2ce0c.svg)
 * [Pixel Caffeine](https://wordpress.org/plugins/pixel-caffeine/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pixel-caffeine/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pixel-caffeine/)
 * [Active Topics](https://wordpress.org/support/plugin/pixel-caffeine/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pixel-caffeine/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pixel-caffeine/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Antonino Scarfì](https://wordpress.org/support/users/antoscarface/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/custom_label/#post-13876048)
 * Status: not resolved