Browse: Home / Hooks /

{$this->prefix}output_option

apply_filters( "{$this->prefix}output_option",  string $output_option,  array $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

(array) Option arguments.


Source #

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


Examples #

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

 <?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.