SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > essential-blocks > > includes > Core


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/essential-blocks//includes/Core

NameTypeSizeLast ModifiedActions
Block.php File 5567 bytes June 01 2025 14:07:44.
Blocks.php File 4806 bytes June 01 2025 14:07:44.
BlocksPatterns.php File 5464 bytes February 18 2025 14:31:10.
FaqSchema.php File 7041 bytes January 12 2025 17:13:54.
FontLoader.php File 4900 bytes June 05 2024 11:39:46.
Maintenance.php File 4530 bytes May 08 2025 15:01:12.
ModifyWPCore.php File 761 bytes August 09 2023 14:57:00.
PageTemplates.php File 4982 bytes December 24 2024 15:38:54.
PostMeta.php File 637 bytes August 09 2023 14:57:00.
Scripts.php File 30191 bytes July 27 2025 13:25:28.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/essential-blocks//includes/Core/PostMeta.php

<?php
namespace EssentialBlocks\Core;

use EssentialBlocks\Traits\HasSingletone;

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

class PostMeta {
	use HasSingletone;

	/**
	 * Register meta
	 */
	public function register_meta() {
		register_meta(
			'post',
			'_eb_attr',
			array(
				'show_in_rest'  => true,
				'single'        => true,
				'auth_callback' => array( $this, 'auth_callback' ),
			)
		);
	}

	/**
	 * Determine if the current user can edit posts
	 *
	 * @return bool True when can edit posts, else false.
	 */
	public function auth_callback() {
		return current_user_can( 'edit_posts' );
	}
}

SILENT KILLER Tool