learndash_settings_field_element_html

apply_filters( 'learndash_settings_field_element_html',  string $html_element )

Filters setting field HTML element.


Description #


Parameters #

$html_element

(string) The HTML element to be used for setting field.


Source #

File: includes/settings/settings-fields/class-ld-settings-fields-html.php


Examples #

 <?php
/**
 * Example usage for learndash_settings_field_element_html filter.
 */
add_filter(
	'learndash_settings_field_element_html',
	function( $html_element ) {
		// May add any custom logic using $html_element.

		// Always return $html_element.
		return $html_element;
	}
);