apply_filters( 'learndash_screen_pointers', array $pointers, string $screen_id )
Filters screen pointers.
Description #
Parameters #
- $pointers
-
(array) An array of screen pointer data.
- $screen_id
-
(string) Current Screen id.
Source #
Examples #
Note: Extended code example below not guaranteed, you may need to consult with a developer
<?php
/**
* Example usage for learndash_screen_pointers filter.
*/
add_filter(
'learndash_screen_pointers',
function( $pointers, $screen_id ) {
// May add any custom logic using $pointers, $screen_id.
// Always return $pointers.
return $pointers;
},
10,
2
);
Changelog #
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |