/** * Class constructor */ public function __construct() { parent::__construct('manage', __('Manage', 'code-snippets'), __('Snippets', 'code-snippets')); add_filter('set-screen-option', array($this, 'save_screen_option'), 10, 3); }
/** * Class constructor */ function __construct() { parent::__construct('import', __('Import', 'code-snippets'), __('Import Snippets', 'code-snippets')); add_action('admin_init', array($this, 'register_importer')); add_action('load-importer-code-snippets', array($this, 'load')); }
/** * Constructor */ public function __construct() { parent::__construct('edit', __('Edit Snippet', 'code-snippets'), __('Edit Snippet', 'code-snippets')); add_action('admin_init', array($this, 'remove_incompatible_codemirror')); }
/** * Constructor */ public function __construct() { parent::__construct('settings', __('Settings', 'code-snippets'), __('Snippets Settings', 'code-snippets')); }