Tag Archives: codex

validate_current_theme

Checks that current theme files ‘index.php’ and ‘style.css’ exists.Does not check the default theme, which is the fallback and should always exist. Will switch theme to the fallback theme if current theme does not validate. You can use the ‘validate_current_theme’ filter to return FALSE to disable this functionality.

3319

Continue reading

user_trailingslashit

Retrieve trailing slash string, if blog set for adding trailing slashes.Conditionally adds a trailing slash if the permalink structure has a trailing slash, strips the trailing slash if not. The string is passed through the ‘user_trailingslashit’ filter. Will remove trailing slash from string, if blog is not set to have them.

3303

Continue reading