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
- Validate a custom form with js and php
- 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?
- Using Multiple Submit buttons to trigger customised php functions
- Instantiate class to be available to all plugin functions
- Common abstract class for plugins
- How to trigger $_GET request within admin plugin page?
- Get Admin Email Address From External PHP page
- Adding Custom Forms
- How do I let users upload files to a chosen location?
- How to test nonce with AJAX – Plugin development
- What does $wpdb->get_row return?
- woocommerce registration form with klaviyo(don’t work with current user)
- Can’t extend some core classes
- WP add_action factory
- wp_loaded hook block script enquequing
- WP nonce invalid
- Retrieving Author ID in wp-admin area
- woocommerce subscriptions – get expiration date [closed]
- Custom form action to handle data inside a plugin
- Same log message keeps on printing to debug.log file thousand of times
- Adding Default Settings to Theme My Login plugin
- Custom filter in admin edit custom post type responding with invalid post type?
- WordPress Scheduled Event Request Blocking
- How can i upload images in an admin page?
- Append HTML Using Shortcode
- Delete a WordPress transient from a shortcode on Page/Post update
- Plugin CSS not enqueing
- Create onClick Event to Re-load a Widget
- Swapping wp_dropdown_categories function with wp_category_checklist
- Accessing the database from a plugin outside of action hooks
- Adding subdomain to home_url for “add_menu_page”
- How to show phpinfo() only in a new tab?
- How to find error in my code when the error message is pointing to WP core file?
- How to select the contents in the text view textrea in wp_editor?
- Custom Form Processing Issue
- My form action url is being prepended with a directory that does not exists
- How to access global variable $menu inside a class function
- Custom profile field with birthday. Troubles with
- Namespace spl_autoload problem in WordPress admin
- How can I reuse the code to capture a param in a URL and place in a value in a hidden form?
- Hide categories that are not used in the post type
- Automated Cart Update With Alert Box Each Time
- How can I remove a function that has been added to wordpress with add_filter?
- Unreadable pagination
- remove wp floating submenu in wp dashboard
- PHP Fatal error: Uncaught mysqli_sql_exception: Table doesn’t exist in wordpress/wp-includes/wp-db.php
- How to store data from multiple forms using ajax and php
- Using a custom plugin to capture input data via Ajax and PHP
- How to sanitize any integer input field in wordpress?
- My custom wp-admin php files stopped working
- How to use $query->set with post__in?
- How to set up VS Code for WP plugin/theme development in 2021? [closed]
- WordPress ajax doesn’t display object method on jQuery .change() function
- Ajax loaded form replaces form action with Ajax url
- Custom user login page by creating a plugin
- prevent default not stopping page refresh. Passing form information to and from php with ajax in a wordpress site
- Singelton class does not work, multiple initialization on page reload
- Saving an array of dynamic repeater data as post_meta
- How to limit the number of forgot password reset attempts in WordPress?
- what is the best practice to add new field to an api route
- filter default query to show just selected level of child pages in wordpress
- Custom search results page not working with empty search
- Call to undefined function wp() in wp-blog-header.php
- Modify HTML structure of fields in woocommerce checkout form
- Retrieve $_POST data submitted from external URL in WordPress(NOT API)
- WordPress wpform plugin submit and get multiple checked value from checkbox [closed]
- How to upload a file to a folder named after the user_id via plugin
- Reprinting tags with all attributes
- Cannot access wp-admin (wordpress dashboard)
- Use custom post type for a store locator
- developing a wordpress plugin, have a few PHP Woocommerce related coding questions
- Cannot access wp-admin/wp-login.php (WordPress backend) anymore, what could be wrong?
- Remove metabox from WordPress menu editor page?
- Improve page speed loading using CDN and async or defer attribute
- How do I programmatically set a user as spam in BuddyPress? [closed]
- How to use $_GET function WordPress backend
- Whitelisting items from custom options page
- Add_menu_page not displaying the menu in class based plugin
- How to call plugin function per site in a multisite?
- Update results, Before deleting the related category [closed]
- Script to browser problem PHP
- adjust section according to country?
- How to auto fetch customer details in Woocommerce in checkout page