Last active
January 19, 2018 08:57
-
-
Save ARCHTKT/d89b61dad52eb8f3ca194653f81bf1b2 to your computer and use it in GitHub Desktop.
Pequeños trocitos de código que añaden funcionalidad a Gravity Forms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Al copiar no meter esta línea, coger sólo los párrafos | |
// Activa la opción para ocultar los campos de descripción en Gravity Forms | |
add_filter( 'gform_enable_field_label_visibility_settings', '__return_true' ); | |
// Oculta el botón 'Añadir Formulario' de añadir formulario en el editor de páginas y entradas de WordPress | |
add_filter( 'gform_display_add_form_button', '__return_false' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment