Store Locator Plus for WordPress
Store Pages Custom Meta (2 posts)

  1. guhru
    Posted 3 years ago #

    I want to use the data in the store page to be written to a custom meta field for use in another plugin.

    I tried to add the following line to the function CreatePageContent($store) in slp-pages.php

    update_post_meta($slpStorePage->ID, 'partner_email', $store['sl_email'] );

    but it is not getting defined. Any suggestions.


  2. Store Locator Plus
    Plugin Author

    Posted 3 years ago #

    Check to make sure the $store named array is set properly before your update_post_meta() call.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Store Locator Plus for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.