Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
pum_update_all_themes_close_text_cache()
Updates the cache of theme close text to prevent un-needed queries on the front end.
Description Description
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Return Return
(array)
Source Source
File: includes/functions/general.php
function pum_update_all_themes_close_text_cache() { $all_themes_close_text = array(); $themes = pum_get_all_themes(); foreach( $themes as $theme ) { $all_themes_close_text[ $theme->ID ] = $theme->get_setting( 'close_text', '' ); } update_option( 'pum_all_theme_close_text_cache', $all_themes_close_text ); return $all_themes_close_text; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
1.8.0 | Introduced. |