写一段Wordpress的示例插件
以下是一个简单的WordPress示例插件:
Options updated.
<div class="wrap">
<h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
<form method="post">
<label for="myplugin_options">Options:</label>
<textarea id="myplugin_options" name="myplugin_options"><?php echo esc_textarea( $options ); ?></textarea>
<?php submit_button(); ?>
</form>
</div>
<?php
}