learndash_screen_pointers

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 #

File: includes/admin/class-learndash-admin-pointers.php


Examples #

 <?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
);