Edit Recent Edited Posts

설명

Displays a link to the recent edited posts in the admin bar, where you can edit it.

  • Showing 5 posts edited within the last 3 days.
  • Support Post, Pages, Media and Custom Posts.
  • Can change various settings using the filter hooks below.

How it works

Filter hooks

/** ==================================================
 * Filter for capability.
 *
 */
add_filter( 'edit_recent_edited_posts_user_can',
    function() {
        return 'edit_published_posts';
    },
    10,
    1
);
/** ==================================================
 * 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 displayed results.
 *
 */
add_filter(
    'edit_recent_edited_posts_items',
    function() {
        return 10;
    },
    10,
    1
);
/** ==================================================
 * Filter for display order.
 *
 */
add_filter(
    'edit_recent_edited_posts_order',
    function() {
        return 'ASC';
    },
    10,
    1
);
/** ==================================================
 * Filter for type of posting date and time.
 *
 */
add_filter(
    'edit_recent_edited_posts_orderby',
    function() {
        return 'post_date';
    },
    10,
    1
);

스크린샷

  • Admin bar view

설치

  1. Upload edit-recent-edited-posts directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

none

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Edit Recent Edited Posts”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“Edit Recent Edited Posts”(이)가 1 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “Edit Recent Edited Posts”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.00

Initial release.