I managed to create my first wordpress plugin template page collecting various code snippets to make the page function.Everything works fine, but I need hear comments from PHP & wordpress experts to see if it's well-coded.Here's the code.<?php/*Plugin Name: namePlugin URI: http://www.example.comDescription: descVersion: 1Author: someoneAuthor URI: http://www.example*/?><?phpfunction my_first_plugin_init(){    register_setting( 'my_first_plugin_grp', 'my_first_plugin' );}add_action( 'admin_init', 'my_first_plugin_init' );function my_first_plugin_add_page() {    add_menu_page('plugin title', 'plugin title', 'manage_options', 'my_first_plugin', 'my_first_plugin_do_page' );}add_action( 'admin_menu', 'my_first_plugin_add_page' );function my_first_plugin_scripts() {    wp_enqueue_script('media-upload');    wp_enqueue_script('thickbox');    wp_enqueue_script('my-upload', plugin_dir_url( __FILE__ ).'/upload-func.js');}add_action('admin_print_scripts', 'my_first_plugin_scripts');function my_first_plugin_styles() {    wp_enqueue_style('ads-stls', plugin_dir_url( __FILE__ ).'/ads-options.css');    wp_enqueue_style('thickbox');}add_action('admin_print_styles', 'my_first_plugin_styles');function my_first_plugin_do_page() {    global $select_options, $radio_options;    if ( ! isset( $_REQUEST['settings-updated'] ) )    $_REQUEST['settings-updated'] = false;?><div class=wrap>    <h2><?php echo $plgnme; ?></h2>    <?php if ( false !== $_REQUEST['settings-updated'] ) : ?>    <div class=updated fade><p><strong>Options saved.</strong></p></div>    <?php endif; ?>    <form method=post action=options.php>    <?php settings_fields( 'my_first_plugin_grp' ); ?>    <?php $options = get_option( 'my_first_plugin' ); ?>    <!-- content start --><!-- ///////////////////////////////////////////////////////////////////////////////////////////////////// -->Sample text input:<input id=my_first_plugin[lpgrdneurl] class=regular-text type=text name=my_first_plugin[lpgrdneurl] value=<?php esc_attr_e( $options[$lpgrdneurl] ); ?> placeholder=http:// /><!-- ///////////////////////////////////////////////////////////////////////////////////////////////////// --><!-- content end -->    <?php submit_button(); ?>    </form></div><div class=clear></div><?php } ?>
Created my first wordpress plugin template page, need comments
php