sync_category_tag_slugs [ WordPress Function ]
sync_category_tag_slugs ( $term, $taxonomy )
| Defined at: |
|
Soorgelijke functies: get_category_by_slug, the_category_rss, is_category, in_category, category_exists
No description yet.
Source
<?php
function sync_category_tag_slugs( $term, $taxonomy ) {
if ( global_terms_enabled() && ( $taxonomy == 'category' || $taxonomy == 'post_tag' ) ) {
if ( is_object( $term ) ) {
$term->slug = sanitize_title( $term->name );
} else {
$term['slug'] = sanitize_title( $term['name'] );
}
}
return $term;
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/sync category tag slugs « WordPress Codex
sync_category_tag_slugs() is located in wp-admin/includes/ms.php . See also index of Function Reference and index of Template Tags. This page is marked as ...
codex.wordpress.org - wordpress.vim - Kloppmagic.ca
May 22, 2011... secret_salt_warning send_confirmation_on_profile_email show_post_thumbnail_warning site_admin_notice sync_category_tag_slugs ...
www.kloppmagic.ca - WEBあくまこ
line:480 function sync_category_tag_slugs( $term, $taxonomy ) { if( $taxonomy = = 'category' || $taxonomy == 'post_tag' ) { if( is_object( $term ) ) { if($term->slug){ ...
wb.corekuuma.com - PHPXRef 0.7 : WordPress : /wp-admin/includes/ms.php source
... 436 } 437 438 function sync_category_tag_slugs( $term, $taxonomy ) { 439 if ... return $term; 447 } 448 add_filter( 'get_term', 'sync_category_tag_slugs', 10, ...
phpxref.ftwr.co.uk