CCCPaste

JNews || Remove Post View Stats from Account Pages

/**
 * Remove Post View Stats from Account Pages
 */
function jnews_filter_account_page_endpoint( $endpoint ) {
	unset( $endpoint['post_view_stats'] );
	return $endpoint;
}
add_filter( 'jnews_account_page_endpoint', 'jnews_filter_account_page_endpoint' );