WooCommerce Product Feed PRO plugin please leave us a ★★★★★ rating. Thanks in advance!','woo-product-feed-pro' ); } add_filter('admin_footer_text', 'my_footer_text'); /** * Create notification object */ $notifications_obj = new WooSEA_Get_Admin_Notifications; $notifications_box = $notifications_obj->get_admin_notifications ( '4', 'false' ); /** * Create product attribute object */ $attributes_obj = new WooSEA_Attributes; $attributes = $attributes_obj->get_product_attributes(); /** * Update or get project configuration */ $nonce = wp_create_nonce( 'woosea_ajax_nonce' ); /** * Update or get project configuration */ if (array_key_exists('project_hash', $_GET)){ $project = WooSEA_Update_Project::get_project_data(sanitize_text_field($_GET['project_hash'])); $channel_data = WooSEA_Update_Project::get_channel_data(sanitize_text_field($_GET['channel_hash'])); $count_rules = 0; if(isset($project['rules'])){ $count_rules = count($project['rules']); } $count_rules2 = 0; if(isset($project['rules2'])){ $count_rules2 = count($project['rules2']); } $manage_project = "yes"; } else { // Sanitize values in multi-dimensional POST array if(is_array($_POST)){ foreach($_POST as $p_key => $p_value){ if(is_array($p_value)){ foreach($p_value as $pp_key => $pp_value){ if(is_array($pp_value)){ foreach($pp_value as $ppp_key => $ppp_value){ $_POST[$p_key][$pp_key][$ppp_key] = sanitize_text_field($ppp_value); } } } } else { $_POST[$p_key] = sanitize_text_field($p_value); } } } else { $_POST = array(); } $project = WooSEA_Update_Project::update_project($_POST); $channel_data = WooSEA_Update_Project::get_channel_data(sanitize_text_field($_POST['channel_hash'])); $count_rules = 0; $count_rules2 = 0; } ?>

"; if(isset($project['rules'])){ foreach ($project['rules'] as $rule_key => $rule_array){ if(isset($project['rules'][$rule_key]['criteria'])){ $criteria = $project['rules'][$rule_key]['criteria']; } else { $criteria = ""; } ?> $rule2_array){ if(isset($project['rules2'][$rule2_key]['criteria'])){ $criteria = $project['rules2'][$rule2_key]['criteria']; } else { $criteria = ""; } if(isset($project['rules2'][$rule2_key]['newvalue'])){ $newvalue = $project['rules2'][$rule2_key]['newvalue']; } else { $newvalue = ""; } ?> "; } else { ?> "; //} ?>
][rowCount]" value="">
][criteria]" class="input-field-large" value=''>
"; } else { print ""; } ?>  
][rowCount]" value="">
][criteria]" class="input-field-large" value=''>
"; } else { print ""; } ?> ][newvalue]" class="input-field-large" value="">
"> ">     ">