Constants

Hard-coded / fixed constants. These values cannot be modified.

WPSSO_FILEPATH
WPSSO_NONCE_NAME
WPSSO_PLUGINBASE
WPSSO_PLUGINDIR
WPSSO_PLUGINSLUG
WPSSO_UNDEF
WPSSO_URLPATH
WPSSO_VERSION

Define in your wp-config.php file to change the default value.

FORCE_SSLfalse
FORCE_SSL_ADMINfalse
FORCE_SSL_LOGINfalse
WPSSO_ADD_MENU_PRIORITY-20
WPSSO_ADD_SUBMENU_PRIORITY-10
WPSSO_ADMIN_DEBUG_HTMLfalseAdd back-end debug messages to the webpage HTML.
WPSSO_ADMIN_DEBUG_LOGfalseLog back-end debug messages to the PHP error log.
WPSSO_ADMIN_SCRIPTS_PRIORITY-1000
WPSSO_AJAX_DEBUG_HTMLfalse
WPSSO_AJAX_DEBUG_LOGfalse
WPSSO_BLOCK_ASSETS_PRIORITY-1000
WPSSO_ARTICLE_SECTIONS_LISTWPSSO_PLUGINDIR . 'share/article-sections.txt'
WPSSO_CACHE_DISABLEfalseDisable head markup transient cache for debugging purposes.
WPSSO_CACHE_DIRtrailingslashit( WP_CONTENT_DIR ) . 'cache/wpsso/'
WPSSO_CACHE_URLcontent_url( 'cache/wpsso/' )
WPSSO_CACHE_REFRESH_MAX_TIME180030 mins by default.
WPSSO_CONTENT_BLOCK_FILTER_OUTPUTtrueMonitor and control incorrectly coded filter output.
WPSSO_CONTENT_FILTERS_MAX_TIME1.50Issue a warning if the content filter takes longer than 1.5 seconds.
WPSSO_CONTENT_IMAGES_MAX5Maximum number of images extracted from the content.
WPSSO_CRON_DEBUG_HTMLfalse
WPSSO_CRON_DEBUG_LOGfalse
WPSSO_DEBUG_HTMLfalseAdd front-end or back-end debug messages to the webpage HTML.
WPSSO_DEBUG_LOGfalseLog front-end or back-end debug messages to the PHP error log.
WPSSO_DISMISS_NAME'wpsso_dismissed'
WPSSO_DUPE_CHECK_HEADER_COUNT3
WPSSO_DUPE_CHECK_TIMEOUT_TIME3.0
WPSSO_DUPE_CHECK_WARNING_TIME2.5
WPSSO_HEAD_PRIORITY10
WPSSO_HTML_ATTR_FILTER_NAME'language_attributes'<html> attributes filter hook name.
WPSSO_HTML_ATTR_FILTER_PRIO1000<html> attributes filter hook priority.
WPSSO_IMAGE_MAKE_SIZE_MAX_TIME5.00
WPSSO_IMAGE_UPSCALE_ALLfalse
WPSSO_IMAGE_UPSCALE_TESTfalse
WPSSO_JSON_PRETTY_PRINTtrueAllows for better visual cues in the Google validator.
WPSSO_MENU_ORDER80
WPSSO_META_NAME'_wpsso_meta'
WPSSO_META_ATTACHED_NAME'_wpsso_meta_attached'
WPSSO_META_RATING_NAME'rating'
WPSSO_META_SAVE_PRIORITY-1000
WPSSO_META_CLEAR_PRIORITY-100
WPSSO_META_REFRESH_PRIORITY-10
WPSSO_META_GENERATOR_DISABLEfalseNote that generator meta tags must be enabled for plugin support.
WPSSO_OPTIONS_NAME'wpsso_options'
WPSSO_PHP_CURL_CAINFOABSPATH . WPINC . '/certificates/ca-bundle.crt'
WPSSO_PHP_CURL_USERAGENT'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0'
WPSSO_PHP_GETIMGSIZE_MAX_TIME2.00
WPSSO_PREF_NAME'_wpsso_pref'
WPSSO_PRODUCT_CATEGORIES_LISTWPSSO_PLUGINDIR . 'share/product-categories.txt'
WPSSO_PRODUCT_PRICE_INCLUDE_VATfalse
WPSSO_REG_TS_NAME'wpsso_timestamps'
WPSSO_RESET_ON_ACTIVATEfalse
WPSSO_SCHEDULE_SINGLE_EVENT_TIME8Schedule single events for now + 8 seconds.
WPSSO_SCHEMA_ADDL_TYPE_URL_MAX5
WPSSO_SCHEMA_HOWTO_STEPS_MAX40
WPSSO_SCHEMA_HOWTO_SUPPLIES_MAX30
WPSSO_SCHEMA_HOWTO_TOOLS_MAX20
WPSSO_SCHEMA_ISPARTOF_URL_MAX20
WPSSO_SCHEMA_MARKUP_DISABLEfalseDisable Schema markup features.
WPSSO_SCHEMA_METADATA_OFFERS_MAX5
WPSSO_SCHEMA_MOVIE_ACTORS_MAX15
WPSSO_SCHEMA_MOVIE_DIRECTORS_MAX5
WPSSO_SCHEMA_ORGANIZATION_TYPE_ID'organization'
WPSSO_SCHEMA_PRODUCT_VALID_MAX_TIMEYEAR_IN_SECONDS
WPSSO_SCHEMA_RECIPE_INGREDIENTS_MAX40
WPSSO_SCHEMA_RECIPE_INSTRUCTIONS_MAX40
WPSSO_SCHEMA_SAMEAS_URL_MAX5
WPSSO_SCHEMA_WEBPAGE_REVIEWED_BY_MAX5
WPSSO_SELECT_PERSON_NAMES_MAX200
WPSSO_SITE_OPTIONS_NAME'wpsso_site_options'
WPSSO_TITLE_TAG_DISABLEfalseDisable filters for the WordPress title tag.
WPSSO_TITLE_TAG_PRIORITY1000
WPSSO_UNKNOWN_SEO_PLUGIN_ACTIVEfalseDisable SEO related meta tags.

Leave a Review