When the plugin is activated, you can activate the custom taxonomy creation code.
You can create a scenario like this.
Plugin activated – Custom Taxonomy created – Category information is imported via the xml file you created before
You can export your taxonomy data (Tools – Export) and u have xml file.
And than follow this import code
https://stackoverflow.com/questions/19902413/how-import-xml-data-into-wordpress-programatically
Related Posts:
- Redirect to another page using contact form 7? [closed]
- How can i listing current category and Featured Category post list?
- Where do I put the code snippets I found here or somewhere else on the web?
- Customizing subject in comment notification e-mails
- Common functionality between my own plugins
- How to Loop Plugin Option Field Set?
- How to handel multiple checkbox field in the admin settings page with Settings API
- Why does including a file in theme’s functions.php not work?
- wp_insert_user – how to send verification email before logging in
- Editor access to plugin settings
- Saving Plugin settings to the database
- Shortcode display outside the div
- Execute a function using ajax
- Add Top-Level Menu that opens URL
- Use functionality of 2 wordpress plugins
- What is the function to get plugin base url in multisite?
- Fatal error: Class not found in
- Extend Elementor Archive Posts widget with a custom skin in order to show multiple badges
- HELP: Integrating WP with raw PHP code once published button is hit
- Override the core function locate_template
- Can wp_script_is used in pluginA check if a script is being enqueued/registered from pluginB?
- I would like to use create a function in my custom plugin to tell WP to use a different header
- Placement of Code in Plugin for hooking `save_post`
- Scope for PHP Variables Assigned in functions.php or a plugin
- The Point of Using apply_filters()
- How to get variables from fucntion.php to my plugin files
- How to include code into functions.php file via a plugin
- Avoiding Duplicate function names in Post Loop (WP_Footer script)
- How to add class in plugin only for network site?
- WordPress Plugin Page is Loading in Admin Content Container Instead of Separate Page
- plugin development: problem with functions
- Getting a List of Categories for Use in a Plugin?
- wordpress plugin is not activating from widget
- Edit Yoast SEO breadcrumbs output [closed]
- Display post lists in 2nd paragraph
- Using a post-signup hook to get user details
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- creating html reusable blocks via shortcodes
- Customize permalink wordpress category id
- Conditional attributes and logic per product category
- WordPress get_avatar function not correct working
- Which file of wordpress manage plugins functionalities?
- Difference and examples of esc_attr__() and esc_attr_e()
- List the authors that have written posts in a category
- Check if variable is set in filter
- Error using wordpress functions inside a plugin class
- Visual composer custom element error
- Allow a particular user to access a particular plugin?
- How to display the category name in the tab and post inside the tab in WordPress?
- How to copy the all WordPress media items to another custom plugin folder?
- Cookie value changes back to previous value after changing
- Is there any way to sync Facebook Comments and with comments on WordPress website?
- WordPress default post categories meta box widget
- Fatal error “Call to undefined function is_plugin_active” each time the plugin is activated
- function post to trash problem
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Getting the same post on my related post
- The function called on the wp head hook becomes null
- adding dynamic/multiple slug values in ‘option_none_value’
- Precheck fields when I add a new post
- working code, not working – Plugin Dev
- how override a define
- Is admin section completely customizable in terms of styling?
- register_activation_hook doesn’t fire at all
- My ajax request don´t work and return 0
- WordPress environment not loading properly
- WordPress Add advertising ads befor and after content with periority [closed]
- plugin not hooking to my custom hook
- Populate select option with JSON file
- View more posts of a sub-category
- Can plugin automatically update if i hide the update notification?
- How to insert category name above post title in a featured pages plugin?
- Why isn’t my plugin seeing other classes?
- trying to create simple plugin to filter categories from all authors
- how to create table during plugin installation in side a class
- Hook into install email
- How to add submenu to WordPress plugin in the same Directory of main Plugin?
- How to add a handler for a button in plugin?
- Can anyone tell me why I can’t edit a plugin when it is installed without having to re-install?
- Filter EVERY category link with my plugin
- Synch Custom Post Types (and Custom Fields, Cats, etc.) Between WordPress Sites
- Custom Function for SEO by Yoast plugin
- Doing action based on input from options menu
- Call current post parameters inside a plugin
- How can I add the custom taxonomy categories to the posts and pages?
- How to list posts that appear in two categories
- wp_insert_post_data filter to set category
- Pass strings to plugin function [closed]
- How use Dynamic hyperlink on each wordpress post?
- Send email notification when meet the condition
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- Gravity Forms and Gravity View Permissions
- How can I save the selected page in the dropdown after anyone clicks on Save Changes?
- wp_enqueue_script doesn’t load JS in plugin
- Shortcode cannot parse attributes within double quotes. ” is becoming ” breaking my shortcode
- Mixed results with is_page() WordPress function, when using $this, or self
- Read page- or post-content across different builder-plugins
- Need a Category List for the category slug
- WooCommerce Checkout – Validate User Role
- How to get next day date of a specific day