{$this->prefix}display_options

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

Filters semperfi display options.


Description #


Parameters #

$current_options

(array) Current options stored for a location.

$location

(null|string) Location index.


Source #

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


Examples #

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

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

Changelog #

Changelog
Version Description
2.1.0 Introduced.