function ($value) { $adpvalue = strip_tags($value); if (empty($adpvalue)) { add_settings_error( 'chave_de_integracao', esc_attr('chave_de_integracao_erro'), 'Invalid disclaimer ID', 'error' ); return; } if (array_key_exists('submit', $_POST)) { AdpExecComand($adpvalue); } }, ) ); add_settings_section( 'minha_secao', null, function ($args) { ?>
adop

AdOpt Cookie Banner | Consent Management Platform.

Not registered yet? Hit the link below to create your free account!
Already a user? We need the “Banner ID” you created for this website URL.

Click here
'chave_de_integracao_html_id', 'class' => 'classe-html-tr', ] ); } add_action('admin_init', 'adopt_config'); function adopt_config_menu() { add_options_page( null, 'Adopt', 'manage_options', 'minhas-configuracoes', 'adopt_config_html' ); } add_action('admin_menu', 'adopt_config_menu'); function adopt_config_html() { ?>