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 #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?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;
}
);