Changeset 2855312
- Timestamp:
- 01/26/2023 05:13:27 PM (3 years ago)
- File:
-
- 1 edited
-
word-count-analysis/trunk/wca_hook.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
word-count-analysis/trunk/wca_hook.php
r2767085 r2855312 210 210 add_action('wp_dashboard_setup', 'wca_add_dashboard_widgets'); 211 211 212 /*function wca_upgrade_function($upgrader_object, $options) 213 { 214 $current_plugin_path_name = plugin_basename(__FILE__); 215 216 if ($options['action'] == 'update' && $options['type'] == 'plugin' && isset( $options['plugins'])) { 217 foreach ($options['plugins'] as $each_plugin) { 218 if ($each_plugin == $current_plugin_path_name) { 219 update_option('wca_version', WORD_COUNT_ANALYSIS_VERSION); 220 } 221 } 222 } 223 } 224 add_action('upgrader_process_complete', 'wca_upgrade_function', 10, 2);*/
Note: See TracChangeset
for help on using the changeset viewer.