sync_category_tag_slugs()
Deprecated from version 6.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Synchronizes category and post tag slugs when global terms are enabled.
No Hooks.
Returns
WP_Term|Array
. Always returns $term.
Usage
sync_category_tag_slugs( $term, $taxonomy );
- $term(WP_Term|array) (required)
- The term.
- $taxonomy(string) (required)
- The taxonomy for $term.
Changelog
Since 3.0.0 | Introduced. |
Since 6.1.0 | This function no longer does anything. |
Deprecated since | 6.1.0 |
sync_category_tag_slugs() sync category tag slugs code WP 6.8.1
function sync_category_tag_slugs( $term, $taxonomy ) { _deprecated_function( __FUNCTION__, '6.1.0' ); return $term; }