{$this->prefix}display_settings

apply_filters( "{$this->prefix}display_settings",  array $settings,  null|string $location,  array $current_options )

Filters semperfi display settings.


Description #


Parameters #

$settings

(array) Initial Settings.

$location

(null|string) Location index.

$current_options

(array) Current options stored for a location.


Source #

File: includes/class-ld-semper-fi-module.php


Examples #

 <?php
/**
 * Example usage for {$this->prefix}display_settings filter.
 */
add_filter(
	'sfwd_lms_display_settings',
	function( $settings, $location, $current_options ) {
		// May add any custom logic using $settings, $location, $current_options.

		// Always return $settings.
		return $settings;
	},
	10,
	3
);
 

Changelog #

Changelog
Version Description
2.1.0 Introduced.