• HI Guys..

    how to add Approve By: column in wordpress post when editor approve the incoming post from the contributor..

    Your Comments is highly appreciated

    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • how to know in wordpress who approve the post??..then appear in admin post dashboard

    thanks..

    is any one who can answer this question??..thanks

    Moderator bcworkz

    (@bcworkz)

    Per the Forum welcome we ask you NOT bump posts. We use the ‘no replies’ search on these forums regularly to find people who still need help. By bumping, you remove yourself from that list and make it HARDER for us to find you! In any case, the way topics are now sorted in the forums, bumping does not make your topic any more visible.

    I do happen to know how to manage what you are asking for. WP does not record who approved contributor posts by default. You can record this yourself by hooking an action like “pending_to_post” and saving the current username and/or ID in post meta.

    Displaying the data so saved on the list table is rather involved. The resulting code isn’t so bad, but getting a grasp of the concept takes some study. For this, I refer you to an article on customizing administrative list tables. After you get your column setup as described, in the part about table cell output, the sample code is pretty much what you want, except you would use the meta key of where the publishing username is stored.

    If you need clarification on anything, don’t hesitate to ask.

    @bcworkz

    thanks for the reply..you have any samples??

    thanks

    Moderator bcworkz

    (@bcworkz)

    Not me personally, sorry, but that link has lots of code snippets you can adapt. All the tables at the end is a treasure trove of useful data telling you exactly what to use for virtually any of the list table hooks.

    @bcworkz

    thanks for the guide..maybe i will try to explore on it..

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Role’ is closed to new replies.