/** ==================================================
* Filter for period to be displayed.
*
*/
add_filter(
'edit_recent_edited_posts_days',
function() {
return 30;
},
10,
1
);
/** ==================================================
* Filter for user ID of the post to be displayed.
*
*/
add_filter(
'edit_recent_edited_posts_author_ids',
function() {
$user_ids = array();
$user_ids[] = get_current_user_id();
return $user_ids;
},
10,
1
);
/** ==================================================
* Filter for type of posting date and time.
*
*/
add_filter(
'edit_recent_edited_posts_orderby',
function() {
return 'post_date';
},
10,
1
);