Title: Function Call
Last modified: September 1, 2016

---

# Function Call

 *  Resolved [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/)
 * Do you have a function call ( Rather than the shortcode ) and if so, is it the
   same for both free and premium versions?
 * [https://wordpress.org/plugins/social-warfare/](https://wordpress.org/plugins/social-warfare/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Andrea Whitmer](https://wordpress.org/support/users/nutsandboltsmedia/)
 * (@nutsandboltsmedia)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/#post-7712357)
 * Hi Brad,
 * We sure do! See this article (the function is closer to the bottom): [https://warfareplugins.com/support/using-shortcodes-and-php-snippets/](https://warfareplugins.com/support/using-shortcodes-and-php-snippets/)
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/#post-7712387)
 * Thanks.
 *  **Backend** Notice: Undefined index: default in /Users/braddalton/Documents/
   Websites/local.dev/wp-content/plugins/social-warfare/functions/admin-options-
   page/admin-options-page.php on line 423
 *  **Front End** NOTICE: UNDEFINED INDEX: LOCATION_POST IN /USERS/BRADDALTON/DOCUMENTS/
   WEBSITES/LOCAL.DEV/WP-CONTENT/PLUGINS/SOCIAL-WARFARE/FUNCTIONS/BUTTONS-STANDARD.
   PHP ON LINE 276
 *  [Andrea Whitmer](https://wordpress.org/support/users/nutsandboltsmedia/)
 * (@nutsandboltsmedia)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/#post-7712392)
 * Hmmm… What version of PHP are you running locally?
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/#post-7712396)
 * Whatever comes with Desktopserver
 *  [Andrea Whitmer](https://wordpress.org/support/users/nutsandboltsmedia/)
 * (@nutsandboltsmedia)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/#post-7712400)
 * Okay, thanks. I’ve tweeted the ServerPress guys to find out – Social Warfare 
   requires 5.3 or higher, so I’d like to confirm that first. In general, a notice
   isn’t something to worry about (versus a warning or fatal error). I’m sure you’re
   aware of that, but we still want to look into why there is a notice in the first
   place.
 * I use Social Warfare on several of my live sites and there are no notices even
   with debug turned on, but there could be a difference between the free and premium
   versions.
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/#post-7712405)
 * Current PHP version: 5.5.24
 *  Plugin Author [WarfarePlugins](https://wordpress.org/support/users/warfareplugins/)
 * (@warfareplugins)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/#post-7712430)
 * Brad,
 * I think I might know what’s happening. When we updated to 2.0, we changed the
   name of that specific index in that array. So it should go away if you just click
   to save your settings on the options page. That should push all the new names
   into the options set. After you save changes, just refresh the page and it should
   go away.
 * Any chance that that takes care of it?
 * -Nick
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/#post-7712452)
 * Yes, that fixes the error messages.
 * Thanks Nick
 * I gave you a link in this tutorial about [adding social buttons to a widget area](http://wpsites.net/web-design/genesis-hook-after-widget/)
   without using the shortcode.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Function Call’ is closed to new replies.

 * ![](https://ps.w.org/social-warfare/assets/icon-256x256.jpg?rev=2272097)
 * [Social Sharing Plugin - Social Warfare](https://wordpress.org/plugins/social-warfare/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/social-warfare/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/social-warfare/)
 * [Active Topics](https://wordpress.org/support/plugin/social-warfare/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/social-warfare/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/social-warfare/reviews/)

## Tags

 * ["function call"](https://wordpress.org/support/topic-tag/function-call/)

 * 8 replies
 * 3 participants
 * Last reply from: [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/function-call-1/#post-7712452)
 * Status: resolved