PluginProbe
Disable Admin Notices – Hide Dashboard Notifications / 1.4.1
Disable Admin Notices – Hide Dashboard Notifications v1.4.1
1.4.7 1.4.6 1.4.5 trunk 1.0.0 1.0.2 1.0.3 1.0.5 1.0.6 1.1.1 1.1.3 1.1.4 1.2.0 1.2.2 1.2.3 1.2.4 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 All 30 releases
disable-admin-notices / admin / class-page-basic.php
class-page-basic.php
44 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Страница общи�
4 настроек для этого плагина.
5 *
6 * Может быть использована только, если этот плагин используется как отдельный плагин, а не как аддон
7 * дя плагина Clearfy. Если плагин загружен, как аддон для Clearfy, эта страница не будет подключена.
8 *
9 * Поддерживает режим работы с мультисаймами. Вы можете увидеть эту страницу в панели настройки сети.
10 *
11 * Github: https://github.com/alexkovalevv
12 *
13 * @author Alexander Kovalev <alex.kovalevv@gmail.com>
14 * @copyright (c) 2018 Webraftic Ltd
15 * @version 1.0
16 */
17
18 // Exit if accessed directly
19 if ( ! defined( 'ABSPATH' ) ) {
20 exit;
21 }
22
23 class WDN_Page extends WBCR\Factory_Templates_134\Pages\PageBase {
24
25 /**
26 * Requests assets (js and css) for the page.
27 *
28 * @param Wbcr_Factory480_ScriptList $scripts
29 * @param Wbcr_Factory480_StyleList $styles
30 *
31 * @return void
32 * @see Wbcr_FactoryPages480_AdminPage
33 *
34 */
35 public function assets( $scripts, $styles ) {
36 $this->styles->add( WDN_PLUGIN_URL . '/admin/assets/css/page.css' );
37
38 parent::assets( $scripts, $styles );
39 }
40
41 public function getPluginTitle() {
42 return "<span class='wdan-plugin-header-logo'>&nbsp;</span>" . __( 'Webcraftic Disable Admin Notices', 'disable-admin-notices' );
43 }
44 }