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

प्रश्नोत्तर

none

समीक्षाहरू

यस प्लगिनको लागि कुनै समीक्षाहरू छैनन्।

योगदानकर्ता र डेभलपरहरू

“Edit Recent Edited Posts” खुला स्रोत सफ्टवेयर हो। निम्न व्यक्तिहरूले यो प्लगिनमा योगदान गरेका छन्।

योगदानकर्ताहरू

“Edit Recent Edited Posts” 1 लोकेलमा अनुवाद गरिएको छ। योगदानको लागि अनुवादकहरूलाई धन्यवाद।

“Edit Recent Edited Posts” लाई आफ्नो भाषामा अनुवाद गर्नुहोस्

विकासमा रुचि छ?

आरएसएस द्वारा कोड ब्राउज गर्नुहोस्, एसभीएन रिपजिटरी हेर्नुहोस्, वा विकास लग को सदस्यता लिनुहोस्।

चेन्जलग

1.00

Initial release.