Changeset 3289645
- Timestamp:
- 05/08/2025 09:02:00 AM (11 months ago)
- Location:
- leadinfo/trunk
- Files:
-
- 3 edited
-
includes/api/rest.php (modified) (1 diff)
-
leadinfo.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
leadinfo/trunk/includes/api/rest.php
r3289626 r3289645 9 9 // Init tracker_code update endpoint 10 10 add_action('rest_api_init', function () { 11 if (!current_user_can('manage_options')) {12 return;13 }14 15 11 register_rest_route('/leadinfo/v1', '/tracker_code', array( 16 12 'methods' => 'POST', 17 13 'callback' => 'add_leadinfo_tracker_code', 14 'permission_callback' => function () { 15 return current_user_can('manage_options'); 16 } 18 17 )); 19 18 }); -
leadinfo/trunk/leadinfo.php
r3289628 r3289645 4 4 * Plugin URI: https://wordpress.org/plugins/leadinfo/ 5 5 * Description: Leadinfo Plugin 6 * Version: 2.1. 16 * Version: 2.1.2 7 7 * Author: Leadinfo 8 8 * Author URI: https://www.leadinfo.com/ -
leadinfo/trunk/readme.txt
r3289628 r3289645 4 4 Requires at least: 3.0.1 5 5 Tested up to: 6.4.3 6 Stable tag: 2.1. 16 Stable tag: 2.1.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.