New and updated in 2.9.0
-
functionadd_theme_support()
Registers theme support for a given feature.
-
functioncurrent_theme_supports()
Checks a theme’s support for a given feature.
-
functionrequire_if_theme_supports()
Checks a theme’s support for a given feature before loading the functions which implement it.
-
function_preview_theme_template_filter()
Private function to modify the current template when previewing a theme
-
Private function to modify the current stylesheet when previewing a theme
-
functionget_theme_roots()
Retrieves theme roots.
-
functionregister_theme_directory()
Registers a directory that contains themes.
-
functionsearch_theme_directories()
Searches all registered theme directories for complete and valid themes.
-
Filters whether to override the .mo file loading.
-
hookload_textdomain
Fires before the MO translation file is loaded.
-
Filters MO file path for loading translations for a specific text domain.
-
functionload_child_theme_textdomain()
Loads the child theme’s translated strings.
-
functionesc_html_x()
Translates string with gettext context, and escapes it for safe use in HTML output.
-
functionwp_strip_all_tags()
Properly strips all HTML tags including script and style
-
functionsanitize_text_field()
Sanitizes a string from user input or from the database.
-
Filters a sanitized text field string.
-
hookexcerpt_more
Filters the string in the “more” link displayed after a trimmed excerpt.
-
hooksmilies_src
Filters the Smiley image URL before it’s used in the image element.
-
functionshortcode_unautop()
Don’t auto-p wrap shortcodes that stand alone.
-
function_wptexturize_pushpop_element()
Searches for disabled element tags. Pushes element to stack on tag open and pops on tag close.
-
Filters the authentication redirect scheme.
-
functiongd_edit_image_support()
Check if the installed version of GD supports particular image type
-
function_search_terms_tidy()
Formerly used internally to tidy up the search terms.
-
functionwp_timezone_supported()
Check for PHP timezone support
-
functionwp_kses_data()
Sanitize content with allowed HTML KSES rules.
-
functionwp_kses_post()
Sanitizes content for allowed HTML tags for post content.
-
classWP_MatchesMapRegex
Helper class to remove the need to use eval to replace $matches[] in query strings.
-
hookpre_http_request
Filters the preemptive return value of an HTTP request.
-
hookhttp_response
Filters a successful HTTP API response immediately before the response is returned.
-
Sort-helper for timezones.