learndash_post_listing_before_option

This hook has been deprecated. Use the filter ‘learndash_listing_selector_post_type_option_before’ instead.

apply_filters_deprecated( 'learndash_post_listing_before_option',  WP_Post $post,  array $query_arguments,  array $post_type )

Filters the post listing before displaying it to user.


Description #


Parameters #

$post

(WP_Post) WP_Post object to be displayed.

$query_arguments

(array) An array of selector query arguments.

$post_type

(array) The post type of the screen shown.


Source #

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


Examples #

 <?php
/**
 * Example usage for learndash_report_page_buttons action.
 */
add_action(
	'learndash_report_page_buttons',
	function() {

		echo '<div>Custom content or markup</div>';
	}
);
 

Changelog #

Changelog
Version Description
3.2.3 Introduced.