apply_filters( "current_theme_supports-{$feature}", bool $supports, array $args, string $feature )

Filters whether the current theme supports a specific feature.


Description Description

The dynamic portion of the hook name, $feature, refers to the specific theme feature. See add_theme_support() for the list of possible values.


Top ↑

Parameters Parameters

$supports

(bool) Whether the current theme supports the given feature. Default true.

$args

(array) Array of arguments for the feature.

$feature

(string) The theme feature.


Top ↑

Source Source

File: wp-includes/theme.php

View on Trac



Top ↑

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.