Site icon Hip-Hop Website Design and Development

method to move further parameter in publish URL

I’m making an attempt to routinely move a further parameter each time the publish is saved as Draft or Printed.

When a publish is saved as Draft or Printed, the URL is up to date to /wp-admin/publish.php?publish=postid

I wish to add further parameter in publish URL on click on publish so the URL turns into /wp-admin/publish.php?publish=postid&new_param=postid

My method up to now: wp-includes/publish.php

    '_edit_link'            => 'publish.php?publish=%d'

I added the extra parameter and it labored fantastic however I would like the extra parameter to have publish id too i.e publish=123&new_parameter=123&new_para=true

the place 123 is postid

however I can not appear to determine learn how to correctly move the postID for the opposite parameter.

Thanks.