Changeset 1782469
- Timestamp:
- 12/07/2017 09:05:30 AM (8 years ago)
- Location:
- php-info-wp/trunk
- Files:
-
- 2 edited
-
class.PHPInfoer.inc.php (modified) (1 diff)
-
phpinfo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
php-info-wp/trunk/class.PHPInfoer.inc.php
r1782277 r1782469 25 25 add_menu_page("PHP Info", "PHP Info (WP)", "manage_options", "PHPInfoer", array($this, "info"), "dashicons-welcome-widgets-menus", 70); 26 26 } 27 28 public function enqueue() 29 { 30 wp_enqueue_style("phpinfo.wp", plugins_url("/phpinfo.wp/phpinfo.css"), array(), false, "all"); 31 } 27 32 28 33 /** -
php-info-wp/trunk/phpinfo.php
r1782277 r1782469 12 12 $PHPInfoer = new PHPInfoer(); 13 13 14 wp_enqueue_style("phpinfo.wp", plugins_url("/phpinfo.wp/phpinfo.css"), array(), false, "all");15 14 add_filter("plugin_row_meta", array($PHPInfoer, "row_meta"), 10, 2); 15 add_action("wp_enqueue_scripts", array($PHPInfoer, "enqueue")); 16 16 add_action("admin_menu", array($PHPInfoer, "admin_menus"));
Note: See TracChangeset
for help on using the changeset viewer.