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
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
PUM_Upgrade_v1_8_Themes::process_theme( int $theme_id )
Process needed upgrades on each theme.
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
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
Parameters Parameters
- $theme_id
-
(Required)
Source Source
File: includes/batch/upgrade/class-upgrade-v1_8-themes.php
public function process_theme( $theme_id = 0 ) { $theme = pum_get_theme( $theme_id ); /** * If the theme is using an out of date data version, process upgrades. */ if ( $theme->data_version < $theme->model_version ) { $theme->passive_migration(); } }
Expand full source code Collapse full source code View on Trac