do_action( "{$this->prefix}settings_update", array $options, null|string $location )
Fires after the settings update for a prefix.
Description #
The dynamic part of the hook $this->prefix
refers to the semperfi setting prefix.
Parameters #
- $options
-
(array) An array of options.
- $location
-
(null|string) Location index.
Source #
Examples #
<?php /** * Example usage for {$this->prefix}settings_update action. */ add_action( 'sfwd_lms_settings_update', function( $options, $location ) { // May add any custom logic using $options, $location echo '<div>Custom content or markup</div>'; }, 10, 2 );
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |