add_shortcode(‘listar_correspondencias’, function() { if (!current_user_can(‘manage_options’)) return ‘Acesso restrito.’; // Exclusão de categoria if (isset($_GET[‘excluir_corr’])) { $id_excluir = sanitize_text_field($_GET[‘excluir_corr’]); $dados = astro_ler(‘correspondencias’); foreach ($dados as $key […]
shortcode(‘listar_correspondencias
add_shortcode(‘listar_correspondencias’, function() { if (!current_user_can(‘manage_options’)) return ‘Acesso restrito.’; // Exclusão de categoria if (isset($_GET[‘excluir_corr’])) { $id_excluir = sanitize_text_field($_GET[‘excluir_corr’]); $dados = astro_ler(‘correspondencias’); foreach ($dados as $key […]