0

I would like to add some extra button inside post and admin page creating plugin or adding hook inside functions.php. The image below resume all I want :

(1) depending to we are on wordpress post or page . Two buttons next to Update or Save (post or page (1)) button. First one allow to add a new (Post or page (1)) just after saving or updating the current. The second allow to go back to list (Post or page *) just after saving or updating the current.

previewaddbuttonadmin

6
  • Can you show what you have - in terms of code - so far, what errors you have, define specific problem points - the question now is far too general to have a specific answer.
    – Q Studio
    Commented Jan 31, 2021 at 13:23
  • I don't have yet code , I collect the information : Is it possible to add these buttons at this position (left to the update/publish button) ? Must I used "post_row_actions" filter ? I see this solution : wordpress.stackexchange.com/questions/315994/…. And this codex : developer.wordpress.org/reference/hooks/post_row_actions . Is it enough to make my buttons?
    – Rak Arthus
    Commented Jan 31, 2021 at 15:42
  • It's better that you try first, then ask about specific problems.
    – Q Studio
    Commented Jan 31, 2021 at 15:46
  • I understand and it' normal, but how I know if Wordpress allow this hook ? does exist a map/design that show all possible hook inside post edit page ?
    – Rak Arthus
    Commented Jan 31, 2021 at 15:58
  • Perhaps this: adambrown.info/p/wp_hooks/hook
    – Q Studio
    Commented Jan 31, 2021 at 16:02

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.