learndash_settings_field

apply_filters( 'learndash_settings_field',  array $field_arguments )

Filters setting field arguments.


Description #


Parameters #

$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 filter.
 */
add_filter(
	'learndash_settings_field',
	function( $field_arguments ) {
		// May add any custom logic using $field_arguments.

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