PHP Class Themosis\Config\Support

Afficher le fichier Open project: themosis/framework

Protected Properties

Свойство Type Description
$data List of theme supports.

Méthodes publiques

Méthode Description
__construct ( array $data )
make ( ) : Themosis\Config\Support; Add theme supports.

Méthodes protégées

Méthode Description
support ( string $feature, array $value = [] ) Add theme support.

Method Details

__construct() public méthode

public __construct ( array $data )
$data array

make() public méthode

Call this only into your theme functions.php file or files relative to it. If call outside of the theme, wrap this with after_setup_theme hook.
public make ( ) : Themosis\Config\Support;
Résultat Themosis\Config\Support;

support() protected méthode

Add theme support.
protected support ( string $feature, array $value = [] )
$feature string
$value array

Property Details

$data protected_oe property

List of theme supports.
protected $data