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
- get_the_term_list without links in 3.1
- get_term_children for immediate children only (not grandchildren)
- Creating a non-removable taxonomy term
- Is it possible to use one slug for Multiple Taxonomies?
- How can I set a default listing order on the admin page for a custom taxonomy? (without plugins)
- get taxonomy terms for parent and child
- On Taxonomy Template page, want to add Post_Type
- Ajax filter with custom taxonomies
- Separator for multiple terms
- The next_posts_link() show me a aditional page in blank
- Help building array hierarchically with taxonomies (to get posts)
- Next and Previous links on a single taxonomy page only link to same term
- Why does WP rename similar “term name”-slugs in separate taxonomies?
- Getting the selected terms for custom taxonomies in the editor
- Change permalink of post if it belongs to custom taxonomy
- Set custom post type terms by id without knowing taxonomy
- How to adjust code to refresh a dropdown box with tags that are active on filtered category listing
- How do I display a list of posts under all hierarchical children of the current taxonomy?
- Use get_the_terms to list subcategories of custom taxonomy
- User: Editor, can’t see edit taxonomy screen
- How to get my post title to work with an apostrophe (‘s)?
- Ajax Custom Post Filter is not filtering
- Is it possible to store Json data in post_meta and manipulate
- How to create a dependent drop-down and options in dropdown must be manageable from admin panel
- Updating / Saving items generated by wp_terms_checklist on frontend
- Update table wp_term_taxonomy.count after INSERT INTO via SQL
- Exclude taxonomy term from all loops, but having it on widget
- Get all attachments by custom taxonomy – term
- Correctly order the hierarchy of custom taxonomy when displaying terms
- Archive page for custom taxonomy grouped by month
- Replace taxonomy term with an image in a custom loop
- Need to display custom taxonomy on single page – not working
- Show single Child Category on Custom Post
- Only display latest custom taxonomy post
- unable to save custom taxonomy terms in a custom-built metabox in wp-admin
- How to group non-hierarchical tags?
- How to combine taxonomies into URL?
- Add terms to a taxonomy archive from within the same taxonomy
- Fill New Taxonomies
- How do I show the parent term on a custom taxonomy template (not the ID)?
- Display taxonomies for custom post type
- Dropwdown: Get taxonomy terms from posts that share preselected terms from 3 other taxonomies
- Custom Taxonomy – Dropdown
- How to show selected check box vendors on front end home page?
- custom taxonomy don’t return a value
- Where to put a migration script to switch post information?
- Gravity prerender taxonomy [closed]
- One taxonomy template for all categories?
- Get post terms with hierarchical relationships
- Error in Custom Taxonomy UI
- Add Gutenberg editor to edit taxonomy (category) page
- post_type_link not working for posts without terms
- Why my archive title isn’t showing?