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
- Should I use spl_autoload_register() in my plugin?
- How can I save a multiple select array with the settings API for a plug-in options page?
- Using register_activation_hook in classes
- How to correctly submit a search form and display the result in an independent page
- Is there a way for a plugin to add an attribute to the tag of a theme?
- Metabox repeating fields – radio buttons not saving correctly
- Gutenberg Blocks doesn’t render correctly when using do_blocks
- How to handle a custom form in wordpress to submit to another page?
- My shortcode is showing up twice
- Database “Migration” for Plugins?
- Submitting form via admin-post.php and handling errors
- Custom plugin issue when trying to use the shortcode twice on a page [closed]
- Getting the dropdown menu to redirect to different pages?
- Does wp-cron runs all tasks scheduled at same time together or one after other?
- When must I use and verify nonce?
- What SQL / WordPress queries would need a nonce?
- Making Quote Plugin more efficient
- How do I use the Simple HTML DOM Parser in plugin when other plugin already uses it?
- Will simple function names in a class structure conflict with other plugins?
- Instantiate class to be available to all plugin functions
- How do I let users upload files to a chosen location?
- How to test nonce with AJAX – Plugin development
- How can i upload images in an admin page?
- Modify HTML structure of fields in woocommerce checkout form
- Retrieve $_POST data submitted from external URL in WordPress(NOT API)
- Reprinting tags with all attributes
- Why ajax doesn’t work on certain wordpress hooks and reload the page instead?
- Update results, Before deleting the related category [closed]
- Adding function to Genesis genesis_header [closed]
- Styling my own password protected page, how to deal with wrong password?
- Login to wordpress by clicking a link and specifying usernaname and password in url
- how to update and display an option without reloading the page
- How to obtain the current website URL in my theme?
- How to use html inside a functions.php code?
- Plugin Generate Unexpected output during activation
- Undefined method class::construct() when creating a plugin
- Hook called before text widget save
- zip unzip attachments in wordpress
- 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
- 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
- How to correctly escape an echo
- HTML Form Question
- How to Remove Theme Style CSS inside Custom Plugin?
- 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?
- 400 bad request admin-ajax file upload
- get Woocommerce product format json for WP_Query
- Sum All the Post Meta of Published posts of Current Logged in user
- Javascript / PHP – closing the loop
- The plugin generated 225 characters of unexpected output during activation
- Autoloading Classes in Plugins
- Creating wordpress user registration form
- Comparing Dates within plugin using PHP If statement
- Singleton plugin activation; create database
- Send data from plugin to external database
- Passing link parameter values to form
- Processing forms with php to wordpress database
- How to get WordPress Adminmenu items?
- 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]
- php inside HTML via shortcode? [closed]
- display php code in header using wp_head()
- 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
- Login user into magento using wordpress account
- Redirect loop upon installation of my plugin
- Field validation strlen works in php7.4 fails 8.1 [closed]
- Embed PHP script into WP – what is the best way
- Customize create table SQL statement in any WordPress plugin
- wp_register_script – illegal string offset
- Can’t insert into a database wordpress