Switch language

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




install_themes_feature_list [ WordPress Function ]

install_themes_feature_list ( No parameters )
Returns:
  • (array)
Defined at:



Retrieve list of WordPress theme features (aka theme tags)

Source


<?php
function install_themes_feature_list( ) {
    if ( !
$cache get_transient'wporg_theme_feature_list' ) )
        
set_transient'wporg_theme_feature_list', array( ), 10800);

    if ( 
$cache )
        return 
$cache;

    
$feature_list themes_api'feature_list', array( ) );
    if ( 
is_wp_error$feature_list ) )
        return 
$features;

    
set_transient'wporg_theme_feature_list'$feature_list10800 );

    return 
$feature_list;
}
?>

Examples [ wp-snippets.com ]

Top Google zoekresultaten

Meer ...

Gebruikersdiscussies [ wordpress.org ]

0 User Note(s)

Nog geen één. Wees de eerste!

Nieuw toevoegen ...



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