Merge pull request #12676 from widoz/master
Move the 'woocommerce_endpoint_' . $endpoint . '_title' filter
This commit is contained in:
commit
8f43bb2a6c
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue