Type | Prefix | Content | Actions | |
---|---|---|---|---|
'.esc_html__('No exclude rule added yet','speedycache').' | ||||
'.esc_html($exclude['type']).' | '.esc_html($exclude['prefix']).' | '; if($exclude['prefix'] == 'post_id'){ if(!is_array($exclude['content'])){ $exclude['content'] = explode(',', $exclude['content']); } echo ''.'#ID:';
foreach($exclude['content'] as $exclude){
$post = get_post($exclude);
if(empty($post) || is_wp_error($post)){
continue;
}
$post_link = get_permalink($post->ID);
echo ''.esc_html($exclude);
// We show a tool tip with the excluded page URL and title
echo ''.esc_html($post->post_title).''.esc_url($post_link).' | ';
}
else{
echo''.esc_html($exclude['content']).' | '; } echo'
'.esc_html__('This is a part of SpeedyCache Pro, so update/upgrade to pro to utilize this feature', 'speedycache').'