Switch language

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




require_if_theme_supports [ WordPress Function ]

require_if_theme_supports ( $feature, $include )
Parameters:
  • (string) $feature the feature being checked
  • (string) $include the file containing the functions that implement the feature
Defined at:



Checks a theme's support for a given feature before loading the functions which implement it.

Source


<?php
function require_if_theme_supports$feature$include) {
    if ( 
current_theme_supports$feature ) )
        require ( 
$include );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



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