Make WordPress Core

Opened 2 years ago

Last modified 19 months ago

#56870 new enhancement

Introduce a general `pre_site_option` filter in `get_network_option()`

Reported by: drivingralle's profile Drivingralle Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Networks and Sites Keywords:
Focuses: multisite Cc:

Description

Similar to the new filter from #37930 I suggest to also add a general pre_site_option filter.

I attach a patch to add the filter.
Don't know how to create the test for it.

Attachments (1)

Introduce_a_general_`pre_site_option`_filter_in_`get_network_option()`.patch (1.5 KB) - added by Drivingralle 2 years ago.

Download all attachments as: .zip

Change History (2)

#1 @hellofromTonya
19 months ago

  • Version trunk deleted

Removing trunk as the Version given this is a request for a new filter.

Note: See TracTickets for help on using tickets.