| Server IP : 178.128.116.179 / Your IP : 216.73.216.206 Web Server : nginx/1.30.3 System : Linux glamautowash 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/html/glamautowash.com/wp-content/plugins/pods/src/Pods/Blocks/ |
Upload File : |
<?php
namespace Pods\Blocks;
/**
* Blocks interface.
*
* @credit The Events Calendar team - https://github.com/the-events-calendar/tribe-common
*
* @since 3.0
*/
interface Blocks_Interface {
/**
* Which is the name/slug of this block
*
* @since 3.0
*
* @return string
*/
public function slug();
/**
* Which is the name/slug of this block
*
* @since 3.0
*
* @return string
*/
public function name();
/**
* What are the default attributes for this block
*
* @since 3.0
*
* @return array
*/
public function default_attributes();
/**
* Since we are dealing with a Dynamic type of Block we need a PHP method to render it
*
* @since 3.0
*
* @param array $attributes
*
* @return string
*/
public function render( $attributes = [] );
/**
* Does the registration for PHP rendering for the Block, important due to been
* an dynamic Block
*
* @since 3.0
*
* @return void
*/
public function register();
/**
* Used to include any Assets for the Block we are registering
*
* @since 3.0
*
* @return void
*/
public function assets();
/**
* Attach any specific hook to the current block.
*
* @since 3.0
*
* @return mixed
*/
public function hook();
}