Browse: Home / Hooks /

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 #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 <?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;
	}
);