{$this->prefix}output_option

apply_filters( "{$this->prefix}output_option",  string $output_option,  string $args )

Filters the semperfi output option.


Description #

The dynamic portion of the hook $this->prefix refers to prefix.


Parameters #

$output_option

(string) Output option

$args

(string) Option arguments.


Source #

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


Examples #

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

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

Changelog #

Changelog
Version Description
2.1.0 Introduced.