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
Whether to load the option when WordPress starts up. For existing options $autoload can only be updated using update_option() if $value is also changed. Accepts 'yes' or true to enable, 'no' or false to disable. For non-existent options, the default value is 'yes'.
Default: null
Configuring these autoload settings will reduce the memory usage on the front-end, as the GSC, Onpage and Taxonomy Meta are not needed on most page requests for the actual site user.
Implementing this is literally setting the 3rd argument of the function call.
But this can only be used if the option does not exist yet, update_option will create the option if it does not exist yet or update it if the value is different from the current value.
The text was updated successfully, but these errors were encountered:
The
update_options
used the following classes need to be configured explicitly:WPSEO_Option: autoload =
true
WPSEO_GSC_Count: autoload =
false
WPSEO_Onpage_Option: autoload =
false
WPSEO_Taxonomy_Meta: autoload =
false
See: https://codex.wordpress.org/Function_Reference/update_option
Configuring these autoload settings will reduce the memory usage on the front-end, as the GSC, Onpage and Taxonomy Meta are not needed on most page requests for the actual site user.
Implementing this is literally setting the 3rd argument of the function call.
Related call:
But this can only be used if the option does not exist yet,
update_option
will create the option if it does not exist yet or update it if the value is different from the current value.The text was updated successfully, but these errors were encountered: