Skip to main content

Filter: dt_max_authorized_sites

Filter the maximum number of authorized sites to display.

This limits the number of sites displayed in the Distributor interface for super admins on both the push and pull screens.

Parameters​

NameTypeDescription
$maximum_authorized_sitesintThe maximum number of sites a user can be authorized to use.
$user_idintThe current user ID.
$contextstringThe context of the authorization. Either push or pull.

Since​

  • 2.3.0

Source​

Defined in includes/classes/InternalConnections/NetworkSiteConnection.php at line 945

Ready to Get Started?

Distributor is a WordPress plugin that makes it easy to syndicate and reuse content across your websites — whether in a single multisite or across the web.