Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_tags [ WordPress Function ]

get_tags ( $args = '' )
Parameters:
  • (string|array) $args Tag arguments to use when retrieving tags.
Uses:
See:
Returns:
  • (array) List of tags.
Defined at:



Retrieves all post tags.

Source


<?php
function &get_tags$args '' ) {
    
$tags get_terms'post_tag'$args );

    if ( empty( 
$tags ) ) {
        
$return = array();
        return 
$return;
    }

    
$tags apply_filters'get_tags'$tags$args );
    return 
$tags;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics