[wp-hackers] Save Changes for Taxonomies ...

Jan Bucher janbucher at gmail.com
Fri Oct 19 16:09:24 GMT 2007


Hello Everybody,

this could be ab bit noob, but i don't have an idea how to save
changes i have made to the Taxonomies of WP.

I succesfully created a Admin-Page, where I perform the following
lines for testing:

	
//get all taxonimies:
$taxonomies = get_object_taxonomies('post');

//show all taxonomies ;)
print_r($taxonomies);	

//create a new one: "people"

register_taxonomy( "people", "post");

//retrieve altered taxonomies
$taxonomies = get_object_taxonomies('post');

// and spot the changes
print_r($taxonomies);		
	
This works fine. But it does not save the changes in the database..
.. this must be a very hard one ;)

Thanks for your time
Jan


More information about the wp-hackers mailing list