Пример #1
0
 public static function admin_init()
 {
     $dir = dirname(__FILE__) . '/';
     require_once $dir . 'class-tooltip.php';
     require_once $dir . 'class-admin.php';
     require_once $dir . 'class-credits-admin.php';
     require_once $dir . 'class-trademarks-admin.php';
     Footer_Putter_Admin::init();
     Footer_Credits_Admin::init();
     Footer_Trademarks_Admin::init();
     add_filter('pre_option_link_manager_enabled', '__return_true');
     add_filter('plugin_action_links', array(__CLASS__, 'plugin_action_links'), 10, 2);
 }