Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Plugin con las funciones personalizadas que usamos en el directo
Plugin Name: Funcionalidades
Plugin URI:
Description: Plugin con las funciones personalizadas para tu web
Version: 1.0.0
Author: Alex Avalos
Author URI:
License: GPL 2+
License URI: https:/
// Ocultar barra de administración
add_filter( 'show_admin_bar', '__return_false' );
// Ocultar campo web en los comentarios
function elimina_campos_form_comentario( $fields ) {
unset( $fields['url'] );
return $fields;
add_filter( 'comment_form_default_fields', 'elimina_campos_form_comentario' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment