Example #1
0
 public static function register()
 {
     parent::register();
     //add_action( 'update_option_theme_mods_' . get_option( 'stylesheet' ), array( __CLASS__, 'callback_update_option_theme_mods' ), 10, 2 );
 }
 public static function register()
 {
     parent::register();
     add_action('load-theme-editor.php', array(__CLASS__, 'get_edition_data'));
     add_filter('wp_redirect', array(__CLASS__, 'log_changes'));
 }