Url to be redirected (back-end page edit): wp-admin/edit.php?post_type=page
My lame try:
Code:
}, base.prototype.edit_button = function () {
var _this = this;
return jQuery("<?php edit_post_link( __( 'Full Edit',) ?> ", {
})
I know nothing of PHP/jQuery/Javascript, it didn't show up anything, but at least script kept running
Notes:
edit_post_link is a wordpress function that redirects to the full-editing of the current page. I won't use it, I'll just try to redirect to that url mentioned above.
I know nothing about Wordpress, but that doesn't look like a code you should edit. I believe you are supposed to use some simpler API rather than modify their libraries.
Seemingly, it generates some button and even a click handler for it, so if you delete all that "<button>" stuff, i don't know what you end up with. If you only need to redirect after clicking on that button, you could do something like:
Bookmarks