0

Is there any way how to edit the title field in post.php?

this field: enter image description here

I want to remove the permalink part but I wasn't able to find any hook or filter for it.

3

I'm running the most up to date version of WordPress which has made changes to how permalinks are displayed and handled. There's no longer a View Post button. I was able to remove the whole area using the get_sample_permalink_html hook. Just return an empty string:

function hide_permalink() {
    return '';
}
add_filter( 'get_sample_permalink_html', 'hide_permalink' );
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.