Changeset 1070173
- Timestamp:
- 01/17/2015 11:33:56 PM (11 years ago)
- Location:
- hide-content/trunk
- Files:
-
- 2 edited
-
hide-content.php (modified) (1 diff)
-
options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hide-content/trunk/hide-content.php
r1070170 r1070173 22 22 add_action('admin_menu', 'my_plugin_menu'); 23 23 function my_plugin_menu() { 24 add_options_page('Plugin "Hide Content" - Settings', 'Hide Content', 'manage_options', 'hide-content/options.php' );24 add_options_page('Plugin "Hide Content" - Settings', 'Hide Content', 'manage_options', 'hide-content/options.php', 'admin_form'); 25 25 } 26 26 -
hide-content/trunk/options.php
r1070170 r1070173 41 41 update_option('hide_content_url_login', $url_login); 42 42 } 43 44 function admin_form(){ 43 45 ?> 44 46 <div class='wrap'> … … 131 133 }); 132 134 </script> 135 <?php }; ?>
Note: See TracChangeset
for help on using the changeset viewer.