require_if_theme_supports


require_if_theme_supports ( $feature, $include )

Parameters:
  • (string) $feature The feature being checked.
  • (string) $include Path to the file.
Returns:
  • (bool) True if the current theme supports the supplied feature, false otherwise.
Defined at:

Description

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

Related Functions

remove_theme_support, _remove_theme_support, current_theme_supports, get_theme_support, add_theme_support

Top Google Results

User discussions

wpseek mobile