learndash_settings_field_html_after

apply_filters( 'learndash_settings_field_html_after',  string $output,  array $field_arguments )

Filters the HTML output to be displayed after settings field.


Description #


Parameters #

$output

(string) The HTML output to be displayed after setting field.

$field_arguments

(array) An array of setting field arguments.


Source #

File: includes/settings/settings-fields/class-ld-settings-fields-checkbox-switch.php


Examples #

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

		// Always return $output.
		return $output;
	},
	10,
	2
);