403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/themes/sydney/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/themes/sydney/inc//block-styles.php
<?php
/**
 * Block styles
 *
 * @package Sydney
 */

function sydney_block_styles() {
	register_block_style( // phpcs:ignore WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_style
		'core/site-title',
		array(
			'name'  		=> 'sydney-no-margin',
			'label' 		=> __( 'No margin', 'sydney' ),
		)
	);	

	register_block_style( // phpcs:ignore WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_style
		'core/paragraph',
		array(
			'name'  		=> 'sydney-no-margin',
			'label' 		=> __( 'No margin', 'sydney' ),
		)
	);	

	register_block_style( // phpcs:ignore WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_style
		'core/image',
		array(
			'name'  		=> 'sydney-rounded',
			'label' 		=> __( 'Slightly rounded', 'sydney' ),
			'inline_style' => '.wp-block-image.is-style-sydney-rounded img { border-radius:30px; }',
		)
	);

	register_block_style( // phpcs:ignore WPThemeReview.PluginTerritory.ForbiddenFunctions.editor_blocks_register_block_style
		'core/gallery',
		array(
			'name'  		=> 'sydney-rounded',
			'label' 		=> __( 'Slightly rounded', 'sydney' ),
			'inline_style' => '.wp-block-gallery.is-style-sydney-rounded img { border-radius:30px; }',
		)
	);	
}
add_action( 'init', 'sydney_block_styles' );

Youez - 2016 - github.com/yon3zu
LinuXploit