Changeset 3280593
- Timestamp:
- 04/24/2025 06:43:31 AM (11 months ago)
- Location:
- password-protect-pdf
- Files:
-
- 2 edited
- 1 copied
-
tags/trunk (copied) (copied from password-protect-pdf/trunk)
-
tags/trunk/includes/setting.php (modified) (1 diff)
-
trunk/includes/setting.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
password-protect-pdf/tags/trunk/includes/setting.php
r3250041 r3280593 68 68 if (!function_exists('cross_service_solutions_register_settings')){ 69 69 function cross_service_solutions_register_settings() { 70 register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_api_key', 'cross_service_solutions_verify_api_key'); 71 register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_show_provider', 'cross_service_solutions_sanitize_show_provider'); 70 register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_api_key', array( 71 'type' => 'string', 72 'sanitize_callback' => 'cross_service_solutions_verify_api_key', 73 )); 74 75 register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_show_provider', array( 76 'type' => 'string', 77 'sanitize_callback' => 'cross_service_solutions_sanitize_show_provider', 78 )); 72 79 } 73 80 add_action('admin_init', 'cross_service_solutions_register_settings'); -
password-protect-pdf/trunk/includes/setting.php
r3250041 r3280593 68 68 if (!function_exists('cross_service_solutions_register_settings')){ 69 69 function cross_service_solutions_register_settings() { 70 register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_api_key', 'cross_service_solutions_verify_api_key'); 71 register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_show_provider', 'cross_service_solutions_sanitize_show_provider'); 70 register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_api_key', array( 71 'type' => 'string', 72 'sanitize_callback' => 'cross_service_solutions_verify_api_key', 73 )); 74 75 register_setting('cross_service_solutions_plugin_settings', 'cross_service_solutions_show_provider', array( 76 'type' => 'string', 77 'sanitize_callback' => 'cross_service_solutions_sanitize_show_provider', 78 )); 72 79 } 73 80 add_action('admin_init', 'cross_service_solutions_register_settings');
Note: See TracChangeset
for help on using the changeset viewer.