Remove the URL author of post on all comments

WordPress have “get_comment_author_url” function to retrieve the url of the author of the current comment. you can set it to blank using this function remove_author_url( $url, $id, $commentr ) { return “”; } add_filter( ‘get_comment_author_url’, ‘remove_author_url’, 10, 3);

WordPress get tags in “publish_post” hook

if you want to get all selected tag in “publish_post” try below code. it will give you selected tag from post. remove wp_die(“all Tags”); after verify that you can get proper tags on publish post. add_action( ‘publish_post’, ‘post_published_notification’, 10, 2 ); function post_published_notification( $ID, $post ) { $all_tags = $_POST[‘tax_input’][‘post_tag’]; if ( $all_tags ) { … Read more