the_field_instructions( $context )
This function echoes the field instructions as HTML content. Field instructions are typically used to provide guidance or explanations related to a form field.
Plugin
Namespace
Launchpad\Field
Return
void
Source
File: \includes\lp-field-functions.php
protected function the_field_instructions() {
$instructions = lp__array_key_value( 'instructions', $this->args );
ob_start();
if($instructions) : ?><p class="description"><?= $instructions; ?></p><?php endif;
$html = ob_get_clean();
/**
* Filters: lp__the_field_instructions/{id}.
*
* Allow field instructions html output filter
*
* This allows customization of the HTML input output for a field by applying filters with the specified hook name "lp__the_field_instructions/{id}" before echoing it to the page.
*
* @since 1.5.20
* @param string $html Field input html
* @param array $args Field arguments
* @return void
*/
_e( apply_filters( "lp__the_field_instructions/{$this->id}", $html, $this->args ) );
}