So I figured this out…I realized I was adding my charge_customer_data() function within a class and that it was never being called. I created a new file in my plugin directory separate from the class, added the function, and it worked.
Related Posts:
- How to create a form and display its content as table in admin panel?
- WooCommerce/WordPress: how hide entire table form after submit (Admin Dashboard)?
- How to make my custom widget appear within WordPress widgets? Plugin development
- Usage of call back function of add_meta_box()
- WordPress shortcode returns the data before
- Adding Additional Variables on Menus Page
- wordpress contact form messages not sending although it saying they were sent successfully with this php code
- Store user form submitted information in post type
- Save custom field on WP_List_Table
- not able to access $_POST on backend profile update
- Custom Plugin Develoment, Form Action
- defined (‘ABSPATH’) false after AJAX post to other PHP-file
- Styling admin page rows in order of importance (checkboxes)
- Using Nonce for my Form
- Trouble using wordpress functions in a pop-up modal form
- How do I change the Go To Categories link in the term_updated_messages
- Trouble with WordPress Settings API: Form Submits When Fields Called Directly, Fails When Using Callbacks
- How can I catch WordPress custom settings page slug has already changed?
- I can’t fetch query parameters ($_GET parameters) with get_query_var
- Change Password Hint
- Has anyone tried putting PHP ActiveRecord on WordPress?
- Dynamic URL to reference custom PHP files
- Handling error states with admin_post
- Prevent multiple counts by same user – WP PostViews plugin
- Second select list values are not saved after clicking update
- Use wc_enqueue_js only on specific pages – nested add_action
- submit the form to same page
- Theme url in all plugin pages
- Performance issues with large website [closed]
- Why WordPress architecture is not pure object oriented and it don’t use MVC pattern? [closed]
- How to access function from outside of a class within this class in WP plugin?
- How can i display post loop in table format?
- PHP can I add line numbers to file_get_contents()
- White Screen of Death – wp-admin
- Custom profile field with birthday. Troubles with
- what is the best practice to add new field to an api route
- Use custom post type for a store locator
- How do I programmatically set a user as spam in BuddyPress? [closed]
- WP CRON duplicate wp_insert_post with has < and > tag
- How to send Ajax request from my plugin in admin dashboard?
- Post + form + action + results on the same page
- Programmatically create page when saving custom post type post
- AJAX success response is not working but it’s saving my changes
- Best practice for show data to one specific user?
- get_total () returns 0 – woocommerce [closed]
- wp_insert_post: array only. wp_update_post: array|object (?)
- Link blogname and blogdescription to the Options Framework
- retain querystring values when savincustom options in admin
- Building a REST API for your web app exposes primary keys of DB records?
- Why does my user not get added to the database on custom registration?
- Can I remove or edit an include() from a function with a filter?
- Call to undefined function error in plugin
- How do I make this Metabox show current DB value?
- Make a page (url) not cacheable [closed]
- Get category id when SEO URL is turned on
- Is there a (offical) way for a theme to deactivate itself and show a message in admin?
- Using ACF Relationship field to set post type to draft or published status
- $_POST returning empty values
- How to send custom form submissions to WordPress Database?
- Fatal error: wp-settings.php on line 199
- How can i avoid duplicate same post in wp?
- How to check if plugin update process completed in wordpress?
- using filter and hook inside class
- Priority call methods – PHPMailer->addAddress(NULL)
- custom search query database in child theme
- How to properly escape in ternary operators – Wp Coding Standards?
- Using transients to store form notifications
- Add Admin Option w/ Anonymous Function
- Get value of submit button in custom post type
- wordpress form action page not found
- How to send logs to plugin owner for a plugin?
- Force CSV download with template_redirect
- Form direction to .php on localhost
- How to use foreach and if statement within array of arrays?
- Issue with search form admin panel after PHP migration
- Form not working as it should in WordPress, but in a normal HTML site it does
- Renaming “Expand Details” within “Add Media”
- Ajax call URL 404’ing when pushed to staging server
- Update only some custom user fields
- Dynamic form variables for post meta
- Headers for Contact Form are wrong
- Undefined variable _POST
- HOW TO Insert Existing PHP Code to WOrdPress
- Cookie not created in AJAX request
- Where to put include php file?
- Adding jquery using php function
- How to automatically convert images to WebP on WordPress?
- Import js variables loaded via wp_localize_script() into js module without global scope connection
- Redirect users by role to custom pages
- Field validation strlen works in php7.4 fails 8.1 [closed]
- Embed PHP script into WP – what is the best way
- getJSON response to PHP
- Custom plugin with shortcode not working
- Add Woocommerce Customers link to custom admin menu
- Preventing script injections in HTML form
- wp_register_script – illegal string offset
- How can I modify the html output of a custom post type admin page?
- How rename wp-content and wp-admin folders correctly
- how to escape alert/window.location.replace with variable
- How to access admin menu labels and links on front-end?