Merge pull request #12676 from widoz/master

Move the 'woocommerce_endpoint_' . $endpoint . '_title' filter
This commit is contained in:
Mike Jolley 2016-12-22 14:34:27 +00:00 committed by GitHub
commit 8f43bb2a6c
1 changed files with 2 additions and 2 deletions

View File

@ -125,11 +125,11 @@ class WC_Query {
$title = __( 'Lost password', 'woocommerce' );
break;
default :
$title = apply_filters( 'woocommerce_endpoint_' . $endpoint . '_title', '' );
$title = '';
break;
}
return $title;
return apply_filters( 'woocommerce_endpoint_' . $endpoint . '_title', $title );
}
/**