Hooks / nab_staging_urls

apply_filters( 'nab_staging_urls', array $urls )

List of URLs (or keywords) used to identify a staging site.

Description

If home_url matches one of the given values, the current site will be considered as a staging site.

Parameters

$urls

(array) (Required) list of staging URLs (or fragments). Default: [ 'staging' ].

Source

File: includes/utils/functions/helpers.php

Changelog

Changelog
Version Description
5.0.0 Introduced.