Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- function newsletter() {
- ?>
- <div>
- <h2>Hello World Options</h2>
- <form method="post" action="options.php">
- <?php wp_nonce_field('update-options'); ?>
- <input name="hello_world_data" type="text" id="hello_world_data"
- value="<?php echo get_option('hello_world_data'); ?>" />
- <p>
- <input type="submit" value="<?php _e('Save Changes') ?>" />
- </p>
- </form>
- </div>
- <?php
- }
- add_action('wp_footer','newsletter');
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement