learndash_settings_row_label_inside_before

apply_filters( 'learndash_settings_row_label_inside_before',  string $output_content,  array $field_arguments )

Filters the HTML content to be echoed before inside row label settings.


Description #


Parameters #

$output_content

(string) Content to be echoed.

$field_arguments

(array) An array of setting field arguments.


Source #

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


Examples #

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

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