I figured out what I needed to do. I needed
if(isset( $_POST[ 'tdgmt_plugin_noncename']) && wp_verify_nonce( $_POST['tdgmt_plugin_noncename'], plugins_url( __FILE__))){
to be above
if($screen->base == 'settings_page_tgdmt_options_page'){
as well as fixing my typos of
tdgmt_plugin_noncename
instead of
tgdmt_plugin_noncename
Related Posts:
- Do I require the use of nonce?
- WP nonce invalid
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- Form Security: nonce vs. jQuery
- WordPress shortcode returns the data before
- Using admin-post.php for admin form but it directs me to admin-post.php white screen
- Adding Additional Variables on Menus Page
- Reliable way to add nonce to HTTP Header in WordPress?
- Store user form submitted information in post type
- not able to access $_POST on backend profile update
- Custom Plugin Develoment, Form Action
- Nonce fail after second submit attempt
- Trouble using wordpress functions in a pop-up modal form
- Include WP_Query in my own PHP file?
- How to use update and delete query in wordpress
- How to exclude pages from the search results
- add_meta_boxes action with refresh on save
- Creating a WordPress form with a PHP script and default header
- Resize Image without cropping
- how to create and show sessions in word press?
- Submitting form via admin-post.php and handling errors
- Custom plugin issue when trying to use the shortcode twice on a page [closed]
- When is is_admin() available?
- Custom WordPress+PHP+MYSQL+AJAX form, submit event not captured by Javascript, but does POST data to the DB
- Processing a subscription form with POST method?
- Hiding WordPress Plugin Source Code
- Using Multiple Submit buttons to trigger customised php functions
- Get Admin Email Address From External PHP page
- Adding Custom Forms
- wp_loaded hook block script enquequing
- Custom form action to handle data inside a plugin
- Custom filter in admin edit custom post type responding with invalid post type?
- How to find error in my code when the error message is pointing to WP core file?
- wp_create_nonce function doesn’t work inside a plugin?
- How to access global variable $menu inside a class function
- Custom user login page by creating a plugin
- Singelton class does not work, multiple initialization on page reload
- How to limit the number of forgot password reset attempts in WordPress?
- How to upload a file to a folder named after the user_id via plugin
- developing a wordpress plugin, have a few PHP Woocommerce related coding questions
- Why ajax doesn’t work on certain wordpress hooks?
- Whitelisting items from custom options page
- Add_menu_page not displaying the menu in class based plugin
- adjust section according to country?
- Ajax call return 404
- PHP > Scheduled Tasks > Sending daily email with dynamic API variables
- how to update and display an option without reloading the page
- How to obtain the current website URL in my theme?
- Plugin Generate Unexpected output during activation
- Undefined method class::construct() when creating a plugin
- Hook called before text widget save
- wpdb prepare insert table doesn’t work
- How to display success message correctly and delete it when the page is refreshed
- How can I display Custom Post type Custom Columns and its Content in a Dashboard Widget?
- form built dynamically with php, not submitting
- Search only working on front page (index) , not working on other pages
- form $_post action value gets truncated after it passes through two forms
- custom plugin with upload files does not work
- How to make blog post entries appear as input form instead of just text?
- What is the difference between Null vs Empty (Zero Length) string?
- Page Options Saving But Not Updating In Backend
- send popup after wp_redirect()
- no_rest_route error on custom routes
- Payment field disappears on custom Paypal plugin
- HTML Form Question
- Create ACF Checkbox to get all ACF Values from Parent Page
- File is executed twice if plugin is activating
- product_type_options get saved value [closed]
- Updating user meta adds string count to value?
- Display a custom name when the user has no name settle in his account
- How to create a widget with a populated dropdown?
- How can I update the price when someone enters postcode or zip code in woocommerce checkout page?
- Sum All the Post Meta of Published posts of Current Logged in user
- Javascript / PHP – closing the loop
- Autoloading Classes in Plugins
- Creating wordpress user registration form
- Comparing Dates within plugin using PHP If statement
- Singleton plugin activation; create database
- Passing link parameter values to form
- Processing forms with php to wordpress database
- How to get WordPress Adminmenu items?
- custom contact form no longer working (because of 3.2?)
- How to execute add_action() function from custom plugin to Crontrol plugin or do_action()?
- ajax form function error
- Send foreach $_post method to contact form 7 [closed]
- how can I make content from a plugin hidden when user is logged in? [duplicate]
- Use HTML Form Data in PHP Function – WordPress Admin Page
- base64_encode conflict with convert_smilies in wordpress
- Properly process a custom WP REST API request (Authenticate, Authorize + Validate)?
- Contact form with dynamic dropdown and filter
- Implement OAuth2 in custom plugin
- login redirect based on user role not work as expected
- redirect user from login page if is logged
- How to pass and validate nonce in custom REST routes
- How to lock users account until approvation
- Variable ++ in query loop
- WordPress REST API – Custom field not added to pages
- Capture the Selected Radio Button Value between two files in wordpress theme
- Cannot register a custom WP-CLI command
- Display endpoint’s return into a file (file_put_contents())