Browse: Home / Hooks /

learndash_post_listing_after_option

This hook has been deprecated. Use ‘learndash_listing_selector_post_type_option_after’ instead.

do_action_deprecated( 'learndash_post_listing_after_option',  WP_Post $post,  array $query_arguments )

Fires after the admin post listing option.


Description #


Parameters #

$post

(WP_Post) WP_Post object.

$query_arguments

(array) An array of admin post listing query arguments.


Source #

File: includes/admin/class-learndash-admin-posts-listing.php


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 #

Changelog
Version Description
3.2.3 Use 'learndash_listing_selector_post_type_option_after' instead.
3.0.0 Introduced. This hook has been deprecated. Use {@see 'learndash_listing_selector_post_type_option_after'} instead.