So, thanks to G. M.’s help I was able to debug the problem more efficiently, now that I knew init was indeed not being called. I started stripping out all extraneous functions from my functions.php file and I realized I called do_action twice, as I have many functions run through admin-ajax.php. The do_action calls must only be used once! Odd how the bug presented itself!
$action = isset($_POST['action']) ? $_POST['action'] : null;
//These functions take an ajax call and then call the appropriate PHP function
// this hook is fired if the current viewer is not logged in
do_action( 'wp_ajax_nopriv_' . $action );
do_action( 'wp_ajax_' . $action );
Related Posts:
- How to modify a taxonomy that’s already registered
- I want to load post content by categories using Ajax
- How do I filter posts by taxomony using AJAX
- Custom taxonomies, with custom rewrites/slug, AND loading a taxonomy archive template from a plugin
- Possible to register multiple custom taxonomies in one function?
- Combine multiple custom user taxonomy in single url
- Display the taxonomy name of the current term
- Handling AJAX with custom taxonomy custom fields on add
- Display sub-taxonomies based on SELECTED parent-taxonomy
- Edit post meta with checkboxes on front end
- Custom taxonomies as product variations
- Refresh Taxonomies
- How to register child taxonomies?
- 404 for a custom taxonomy?
- WP_Query on custom taxonomy works fine but fails if run through wp_ajax_
- Add “All Posts” button to custom post taxonomy filter with ajax in wordpress
- AJAX response, edit tags
- Search functionality in ‘taxonomy postbox’ on edit post page
- Custom taxonomy forms for user profile
- Why does a new taxonomy term get created when I assign an existing term to a post?
- Set taxonomy fields on post with AJAX
- Custom Taxonomy isn’t working from frontend post submitting
- Custom Taxonomy index/archive hierarchy
- taxonomy tax-name archive
- Pagination on Custom Tax Pages Removes Spaces from Query Vars
- Changing select options based on previous select with PHP & AJAX
- Proper way to update the slug of a taxonomy using register_taxonomy? [duplicate]
- Why isn’t the ‘no results’ being shown when a query returns no results?
- Custom Taxonomy template not display
- Custom taxonomies not showing up in admin menu
- Taxonomize taxonomy terms?
- wordpress mysql / wpdb ajax load more for terms help
- Custom taxonomies registered via plugin stop existing after function finishes running
- Tracking the name of a custom taxonomy
- Custom field with terms from another taxonomy programmatically
- Taxonomies and subtaxonomies relations
- Infinite Scroll appending Next Product Category Term pages
- How to Create taxonomy using ‘null’ for $object_type?
- Custom Taxonomy Not Being Recognized by is_tax()
- set_object_terms for custom taxonomy in custom post type – not working
- Templates files for custom post type with custom tags
- Sort Taxonomy List by Custom Values
- ajax drop down change second drop down data
- Register custom taxonomy from a Advenced custom field option page
- An unidentified error has occurred when deleting a category
- Prevent random entries in hierarchical false taxonomies
- Registering custom taxonomy using reserved terms
- How to enforce a requirement for custom taxonomy
- Change taxonomy key of existing and future taxonomy posts
- Using wp_query is it possible to orderby taxonomy?
- Can multiple custom post types share a custom taxonomy?
- “tax_query” parameter not working with WP_Query
- How do I exclude a custom taxonomy from the post loop
- get_posts assigned to a specific custom taxonomy term, and not the term’s children
- How can I get only parent terms?
- Retrieve posts by term id custom query
- Change order of Custom Taxonomy List
- Get the the top-level parent of a custom taxonomy term
- get_the_term_list without links in 3.1
- Inserting terms in an Hierarchical Taxonomy
- get_terms – only top level
- Custom taxonomy terms not showing as list Gutenberg Editor
- Altering the appearance of custom taxonomy inputs
- How to only list the child terms of a taxonomy and not their parents?
- Get term SLUG by term ID
- Is ACF being a honey trap? [closed]
- Get term name from term ID?
- Check if Current Category has Children
- How to use taxonomies on attachments with the new Media Library?
- Hierarchical taxonomy UI
- WordPress taxonomy radio buttons
- How to prevent new terms being added to a custom taxonomy?
- Custom taxonomy, get_the_terms, listing in order of parent > child
- How to remove the tag cloud from custom taxonomy admin page?
- custom taxonomy and pages rewrite slug conflict gives 404
- Inserting a term into a custom taxonomy
- Count posts in custom taxonomy
- How to add images to taxonomies?
- Read-only taxonomy (user can assign term but can’t create or edit existing terms)
- Remove taxonomy base or term from url
- Can you add the visual editor to the description field for custom taxonomies?
- Adding Category/Tag/Taxonomy Support to Images/Media
- Add default WordPress tag meta box to User Profile
- Custom Taxonomy Endpoint Pagination using paginate_links()
- How do I get the top-level terms in a custom taxonomy?
- Check if a post has any term in this custom taxonomy?
- Query Custom Post by Taxonomy Category
- Custom columns on edit-tags.php main page
- Loop through custom taxonomies and display posts
- How do I add a custom taxonomy as an option for menus under “Appearance” > “Menus”
- custom post type taxonomy “tag” archive : no post found
- How to get WooCommerce Product Category Link by ID?
- Order get_terms using a Custom Field
- Add custom taxonomy fields when creating a new taxonomy
- get_term_children for immediate children only (not grandchildren)
- Using pre_get_posts to rewrite search query to display posts from multiple taxonomies
- Custom taxonomies capabilities
- Contact Form 7 – Populate Select List With Taxonomy [closed]
- Can’t get a custom template taxonomy page to display
- Query users by custom taxonomy and user role