/** * WPForms Custom Real-time Keyword Blocklist * * @link https://wpforms.com/developers/add-a-real-time-keyword-blocklist-to-a-single-line-text-field/ */ function wpf_dev_realtime_keyword_blocker() { ?>Continue reading
/** * Allow only specific days of each month in all WPForms date pickers. * * @link https://wpforms.com/developers/customize-the-date-time-field-date-options/ */ function wpf_dev_only_selected_days() { ?>Continue reading
/* * Arquivo: admin-style.css – Versão Final Corrigida * Correções: Eliminação total de azuis/cores WP em hovers/actives, melhoria do contraste dos ícones. */ /* Variáveis CSS para gerenciamento de cores e tamanhos */ :root { /* Cores de Fundo e…Continue reading
add_action( ‘init’, function () { // Only run if TEC/tribe() container exists. if ( ! function_exists( ‘tribe’ ) ) { return; } /* Disable Zoom provider actions */ $zoom_provider = tribe( \Tribe\Events\Virtual\Meetings\Zoom_Provider::class ); if ( $zoom_provider instanceof \Tribe\Events\Virtual\Meetings\Zoom_Provider ) {…Continue reading
// Exit if accessed directly if (!defined(‘ABSPATH’)) { exit; } // Check if WooCommerce is active if (!in_array(‘woocommerce/woocommerce.php’, apply_filters(‘active_plugins’, get_option(‘active_plugins’)))) { add_action(‘admin_notices’, ‘superwp_wc_not_active_notice’); function superwp_wc_not_active_notice() { ?>Continue reading
// Configuratie function get_parameters_36(): array { return [ “target_page_slug” => “lesrooster-evenemententeam-2025”, “tablepress_table_id” => 36 ]; } /** * Probeer een (Nederlandse) datum-string te parsen naar een DateTime in Europe/Amsterdam. * Retourneert DateTime of false als parsing mislukt. */ function etb_parse_datum_to_datetime($datum)…Continue reading
// Add subtitle meta box to post editor function add_subtitle_meta_box() { add_meta_box( ‘post_subtitle’, ‘Subtitle’, ‘subtitle_meta_box_callback’, ‘post’, ‘normal’, ‘high’ ); } add_action(‘add_meta_boxes’, ‘add_subtitle_meta_box’); // Display the subtitle field function subtitle_meta_box_callback($post) { wp_nonce_field(‘save_subtitle’, ‘subtitle_nonce’); $value = get_post_meta($post->ID, ‘_post_subtitle’, true); echo ‘‘; }…Continue reading