Atenção!

Este artigo contém código PHP e destina-se a desenvolvedores. Oferecemos este código como uma cortesia, mas não fornecemos suporte para personalizações de código ou desenvolvimento de terceiros.

Para orientação extra, consulte o tutorial do WPBeginner sobre como adicionar código personalizado.

Dispensar

Descrição

The wpforms_conversational_forms_start_button_disabled filter is used to determine if the Start and Enter links that are displayed on conversational forms should be disabled.

Parâmetros

$disabled
(bool) Determines if the Start and Enter links displayed just before the form loads should be disabled. Default is false (enabled).

Fonte

wpforms-conversational-forms/src/Frontend.php

Mais Informações

The wpforms_conversational_forms_start_button_disabled filter can be used to hide the Start and Enter links that are displayed by default when a form loads for all forms created with the Conversational Form addon.

Exemplo

/**
 * Disable the start and enter links at the top of a conversational form.
 *
 * @link   https://wpforms.com/developers/wpforms_conversational_forms_start_button_disabled/
 *
 * @param  bool $disabled  Default is false (enabled).
 * @return bool
 */
 
add_filter( 'wpforms_conversational_forms_start_button_disabled', '__return_true', 15 );