Support » Plugin: Store Locator Plus for WordPress » Store Pages Custom Meta

  • guhru


    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.

Viewing 1 replies (of 1 total)
  • Plugin Author Store Locator Plus


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

Viewing 1 replies (of 1 total)
  • The topic ‘Store Pages Custom Meta’ is closed to new replies.