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_Upgrade_v1_8_Themes::custom_query_args()
Only load popups with specific meta keys.r
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/batch/upgrade/class-upgrade-v1_8-themes.php
public function custom_query_args() { return array( 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'popup_theme_data_version', 'compare' => 'NOT EXISTS', 'value' => 'deprecated', // Here for WP 3.9 or less. ), array( 'key' => 'popup_theme_data_version', 'compare' => '<', 'value' => 3, ), ), ); }
Expand full source code Collapse full source code View on Trac