You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For multisites, would it be possible to change the 'Custom WordPress login branding' option to be a multisite option instead of being per individual site? We've got a lot of sites under our multisite and it would be a huge help if I could change the branding in one place rather than set the option on every site!
Thanks
The text was updated successfully, but these errors were encountered:
Would it be ok to add a filter to specify which branding option to choose, and that would override whatever is set in Authorizer settings on the individual subsites? Something like:
add_filter( 'authorizer_set_branding_option', function ( $branding_value, $branding_options ) {
// Make sure the custom branding option exists in the list of branding options// before using it.if ( ! empty( array_filter( $branding_options, function( $branding_option ) { return ! empty( $branding_option['value'] ) && 'your-global-branding-option' === $branding_option['value']; } ) ) ) {
$branding_value = 'your-global-branding-option';
}
return$branding_value;
} );
We can also add a wp-config.php constant, something like AUTHORIZER_BRANDING_OPTION that would do the same.
I think that's easier for us to implement instead of trying to handle folks that want custom branding on each subsite vs. consistent branding across all subsites.
For multisites, would it be possible to change the 'Custom WordPress login branding' option to be a multisite option instead of being per individual site? We've got a lot of sites under our multisite and it would be a huge help if I could change the branding in one place rather than set the option on every site!
Thanks
The text was updated successfully, but these errors were encountered: