1
0
Fork 0
mirror of https://github.com/inretio/WordPress-Plugin-Boilerplate synced 2024-12-22 11:53:53 +02:00

automatically displaying the name of the plugin admin page

related #38
This commit is contained in:
Tom McFarlin 2013-05-09 22:12:52 -04:00
parent d6d3b1aaa6
commit 111c60122d

View file

@ -1,8 +1,7 @@
<div class="wrap">
<?php screen_icon(); ?>
<?php // TODO: replace "plugin-name-locale" with a unique value for your plugin ?>
<h2><?php _e( 'My Plugin Name', 'plugin-name-locale' ); ?></h2>
<h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
<!-- TODO: Provide markup for your options page here. -->