{$this->prefix}settings_header

do_action( "{$this->prefix}settings_header",  null|string $location )

Fires inside sfwd global settings header for a prefix.


Description #

The dynamic part of the hook $this->prefix refers to the semperfi setting prefix.


Parameters #

$location

(null|string) Location index.


Source #

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


Examples #

 <?php
/**
 * Example usage for {$this->prefix}settings_header action.
 */
add_action(
	'sfwd_lms_settings_header',
	function( $location ) {
		// May add any custom logic using $location

		echo '<div>Custom content or markup</div>';
	}
);
 

Changelog #

Changelog
Version Description
2.1.0 Introduced.