This hook has been deprecated. Use ‘learndash_listing_selector_post_type_query_results’ instead.
apply_filters_deprecated( 'learndash_post_listing_results_posts', array $posts, array $query_arguments, string $post_type )
Filters post type listing filter posts results.
Description #
Parameters #
- $posts
-
(array) An array of post listing result posts.
- $query_arguments
-
(array) An array of selector query arguments.
- $post_type
-
(string) The post type of the screen shown.
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_report_page_buttons action. */ add_action( 'learndash_report_page_buttons', function() { // Add your custom code here } );
Changelog #
Version | Description |
---|---|
3.2.3 | Use 'learndash_listing_selector_post_type_query_results' instead. |
3.0.0 | Introduced. This hook has been deprecated. Use {@see 'learndash_listing_selector_post_type_query_results'} instead. |