| Server IP : 82.208.35.60 / Your IP : 216.73.217.33 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/studiokobylisy_cz/www/wp-content/plugins/wp-bootstrap-blocks/src/ |
Upload File : |
// WordPress dependencies
import { hasFilter } from '@wordpress/hooks';
// deprecated container filters
if ( hasFilter( 'wpBootstrapBlocks.container.customMarginOptions' ) ) {
// eslint-disable-next-line no-console
console.warn(
'`wpBootstrapBlocks.container.customMarginOptions` filter was renamed to `wpBootstrapBlocks.container.marginAfterOptions`. Please change your filter definition.'
);
}
if ( hasFilter( 'wpBootstrapBlocks.container.useFluidContainerPerDefault' ) ) {
// eslint-disable-next-line no-console
console.warn(
'`wpBootstrapBlocks.container.useFluidContainerPerDefault` filter has been removed. Please use `wp_bootstrap_blocks_container_default_attributes` filter (PHP) instead.'
);
}
// deprecated row filters
if ( hasFilter( 'wpBootstrapBlocks.row.useOldObjectTemplateStructure' ) ) {
// eslint-disable-next-line no-console
console.warn(
'`wpBootstrapBlocks.row.useOldObjectTemplateStructure` filter has no effect since the old template structure is not supported anymore. You can safely remove this filter.'
);
}