Skip to content

[whitelabel] [filter] Added a filter for the whitelabeled mode flag.#465

Open
fajardoleo wants to merge 1 commit intodevelopfrom
feature/whitelabel-mode-filter
Open

[whitelabel] [filter] Added a filter for the whitelabeled mode flag.#465
fajardoleo wants to merge 1 commit intodevelopfrom
feature/whitelabel-mode-filter

Conversation

@fajardoleo
Copy link
Contributor

No description provided.

@fajardoleo fajardoleo self-assigned this Dec 28, 2020
@vovafeldman
Copy link
Contributor

@fajardoleo why not simply change this line:

if ( true !== $this->_storage->is_whitelabeled ) {

with:

if ( true !== $this->apply_filters( 'is_whitelabeled', $this->_storage->is_whitelabeled ) ) {

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants