um_profile_query_make_posts

Hook type

Filter

Description

Some changes of WP_Query Posts Tab

Parameters

$query_posts

(WP_Query) UM Posts Tab query

Usage

<?php add_filter( 'um_profile_query_make_posts', 'function_name', 10, 1 ); ?>

Examples

<?php
add_filter( 'um_profile_query_make_posts', 'my_profile_query_make_posts', 10, 1 );
function my_profile_query_make_posts( $query_posts ) {
    // your code here
return $query_posts;
}
?>

Change Log

Since: 2.0

Source

um_profile_query_make_posts is located in templates/profile/posts.php::line 24