comment_remove_author_url

comment_remove_author_url

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.0.1

do_action('comment_remove_author_url') is found 1 times:

  • /wp-content/plugins/akismet/class.akismet-admin.php line 502
    			$comment_id = intval( $_POST['id'] );
    			$comment = get_comment( $comment_id, ARRAY_A );
    			if ( $comment && current_user_can( 'edit_comment', $comment['comment_ID'] ) ) {
    				$comment['comment_author_url'] = '';
    				do_action( 'comment_remove_author_url' );
    				print( wp_update_comment( $comment ) );
    				die();
    			}
    		}
    	}