apply_filters( "{$this->prefix}display_settings", array $settings, null|string $location, array $current_options )
Filters semperfi display settings.
Description #
Parameters #
- $settings
-
(array) Initial Settings.
- $location
-
(null|string) Location index.
- $current_options
-
(array) Current options stored for a location.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php /** * Example usage for {$this->prefix}display_settings filter. */ add_filter( 'sfwd_lms_display_settings', function( $settings, $location, $current_options ) { // May add any custom logic using $settings, $location, $current_options. // Always return $settings. return $settings; }, 10, 3 );
Changelog #
Version | Description |
---|---|
2.1.0 | Introduced. |