Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // this will be in class-wp-xmlrpc-server
- function wp_resgisterTaxonomy() {
- // get the arguments
- // use wp_setoptions to save the value as option
- }
- // this will be added to the create_initial_taxonomies method in wp-includes/taxonomy.php
- // get the option from the options table
- $options = an array of custom taxonomies retrieved from the options table
- foreach($options as $option) {
- // strip out the values
- // use register_taxonomy to register
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement