Constants
Plugin constants
These constants can be defined in your wp-config.php or in the theme functions.php file.
1
/**
2
* Block all external connections (to the auto udpate server)
3
* It does the same as WP_HTTP_BLOCK_EXTERNAL
4
**/
5
define('ASP_BLOCK_EXTERNAL', true);
6
7
8
/**
9
* When defined, the plugin tries to fix the image sources on the search results
10
* page on WP multisite environments.
11
* WARNING: Make sure to test the results page layout after enabling, this feature
12
* can be buggy.
13
**/
14
define('ASP_MULTISITE_IMAGE_FIX', true);
15
16
17
/**
18
* Bypasses the index table keyword counter. On some huge databases counting the
19
* keywords can be actually a very demanding task due to the inefficiency
20
* of the SELECT COUNT(*) query. Defining this constant will set the counter
21
* to 9999 statically.
22
**/
23
define('ASP_INDEX_BYPASS_COUNT', true);
Copied!
Last modified 8mo ago
Copy link