| Server IP : 104.21.20.47 / Your IP : 104.23.197.164 Web Server : Microsoft-IIS/7.5 System : Windows NT WIN-HN0MTSF2AF1 6.1 build 7601 (Windows Server 2008 R2 Enterprise Edition Service Pack 1) AMD64 User : IWPD_11(bayt-altogg) ( 0) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Inetpub/vhosts/bayt-altoggar.com/httpdocs/wp-content/themes/customify/inc/admin/ |
Upload File : |
<?php
/**
* Register custom block styles.
*
* @since 0.4.14
*/
if ( ! function_exists( 'customify_register_block_styles' ) ) {
function customify_register_block_styles() {
// Button: Ghost (outline with no fill).
register_block_style(
'core/button',
array(
'name' => 'ghost',
'label' => __( 'Ghost', 'customify' ),
)
);
// Image: Rounded corners.
register_block_style(
'core/image',
array(
'name' => 'rounded',
'label' => __( 'Rounded', 'customify' ),
)
);
// Image: Shadow.
register_block_style(
'core/image',
array(
'name' => 'shadow',
'label' => __( 'Shadow', 'customify' ),
)
);
// Quote: Bordered left accent.
register_block_style(
'core/quote',
array(
'name' => 'accent',
'label' => __( 'Accent Border', 'customify' ),
)
);
// Separator: Thick.
register_block_style(
'core/separator',
array(
'name' => 'thick',
'label' => __( 'Thick', 'customify' ),
)
);
// Group: Card (white background, border, padding).
register_block_style(
'core/group',
array(
'name' => 'card',
'label' => __( 'Card', 'customify' ),
)
);
// Columns: No gap.
register_block_style(
'core/columns',
array(
'name' => 'no-gap',
'label' => __( 'No Gap', 'customify' ),
)
);
}
}
add_action( 'init', 'customify_register_block_styles' );