wpseek.com
A WordPress-centric search engine for devs and theme authors
resume_theme › WordPress Function
Since5.2.0
Deprecatedn/a
› resume_theme ( $theme, $redirect = '' )
| Parameters: (2) |
|
| Returns: |
|
| Defined at: |
|
| Codex: |
Tries to resume a single theme.
If a redirect was provided and a functions.php file was found, we first ensure that functions.php file does not throw fatal errors anymore. The way it works is by setting the redirection to the error before trying to include the file. If the theme fails, then the redirection will not be overwritten with the success message and the theme will not be resumed.