HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //var/www/intranet.kauko.lt/wp-content/plugins/woffice-core/extensions/shortcodes/hooks.php
<?php if (!defined('FW')){
	return;
};

/** @internal */
function _filter_disable_shortcodes($to_disable)
{
	$to_disable[] = 'team_member';
	$to_disable[] = 'widget_area';
	$to_disable[] = 'button';
	$to_disable[] = 'special_heading';
	$to_disable[] = 'contact_form';
	$to_disable[] = 'notification';
	$to_disable[] = 'calendar';
	$to_disable[] = 'call_to_action';
	$to_disable[] = 'form';
	return $to_disable;
}
add_filter('fw_ext_shortcodes_disable_shortcodes', '_filter_disable_shortcodes');

function _filter_change_table_btn(){
    return 'woffice_button';
}
add_filter('fw:ext:shortcodes:table:button-shortcode-name', '_filter_change_table_btn');