Changeset 1977408
- Timestamp:
- 11/20/2018 12:46:30 PM (7 years ago)
- File:
-
- 1 edited
-
instant/trunk/unless.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
instant/trunk/unless.php
r1955596 r1977408 73 73 function unless_install() 74 74 { 75 add_option("unless_data", '', '', 'yes'); 75 if ( !get_option('unless_data') ) { 76 add_option("unless_data", '', '', 'yes'); 77 } 76 78 } 77 79 78 // Runs on plugin deactivation79 register_ deactivation_hook( __FILE__, 'unless_remove' );80 // Runs on plugin uninstall 81 register_uninstall_hook( __FILE__, 'unless_remove' ); 80 82 function unless_remove() 81 83 {
Note: See TracChangeset
for help on using the changeset viewer.