{$this->prefix}submit_options

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

Filters semperfi submit options for a prefix.


Description #

The Dynamic portion $this->prefix refers to prefix.


Parameters #

$submit_options

(array) An array of submit options

$location

(null|string) Location index.


Source #

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


Examples #

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

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

Changelog #

Changelog
Version Description
2.1.0 Introduced.