Changeset 2510285
- Timestamp:
- 04/06/2021 07:17:06 PM (5 years ago)
- Location:
- showpass/trunk
- Files:
-
- 2 edited
-
showpass-wordpress-plugin-shortcode.php (modified) (2 diffs)
-
showpass-wordpress-plugin.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
showpass/trunk/showpass-wordpress-plugin-shortcode.php
r2505628 r2510285 26 26 if ($http_code === 200) { 27 27 return wp_remote_retrieve_body($response); 28 } else {29 print_r ($response);30 28 } 31 29 } … … 182 180 // encode json data to return properly 183 181 $data = json_encode($data); 184 185 182 if ($template == "data") { 186 183 return $data; -
showpass/trunk/showpass-wordpress-plugin.php
r2505628 r2510285 5 5 Description: List events, display event details and products. Use the Showpass purchase widget for on site ticket & product purchases all with easy to use shortcodes. See our git repo here for full documentation. https://github.com/showpass/showpass-wordpress-plugin 6 6 Author: Showpass / Up In Code Inc. 7 Version: 3.5. 77 Version: 3.5.8 8 8 Author URI: https://www.showpass.com 9 9 */ … … 16 16 * create custom plugin settings menu 17 17 *************************************/ 18 add_action('admin_menu', 'wpshp_admin_menu');19 18 20 19 /** … … 35 34 /* create new top-level menu */ 36 35 add_menu_page('Showpass Events API', 'Showpass API', 'administrator', __FILE__, 'wpshp_settings_page', plugins_url('/images/icon.png', __FILE__)); 36 } 37 37 38 /* call register settings function */ 39 add_action('admin_init', 'register_wpshp_settings'); 40 } 38 add_action('admin_menu', 'wpshp_admin_menu'); 41 39 42 40 function register_wpshp_settings() { … … 54 52 } 55 53 54 /* call register settings function */ 55 add_action('admin_init', 'register_wpshp_settings'); 56 56 57 /****************************** 57 58 * includes
Note: See TracChangeset
for help on using the changeset viewer.