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 only back-end debug messages to the webpage HTML.
WPSSO_ADMIN_DEBUG_LOGfalseLog only back-end debug messages to the PHP error log.
WPSSO_ADMIN_SCRIPTS_PRIORITY-1000
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_CONTENT_BLOCK_FILTER_OUTPUTtrueMonitor and control incorrectly coded filter output.
WPSSO_CONTENT_FILTERS_MAX_TIME1.00Issue a warning if the content filter takes longer than 1 second.
WPSSO_CONTENT_IMAGES_MAX5Maximum number of images extracted from the content.
WPSSO_DEBUG_HTMLfalseAdd both front-end and back-end debug messages to the webpage HTML.
WPSSO_DEBUG_LOGfalseLog both front-end and back-end debug messages to the PHP error log.
WPSSO_DISMISS_NAME'wpsso_dismissed'
WPSSO_DUPE_CHECK_HEADER_COUNT10
WPSSO_DUPE_CHECK_TIMEOUT_TIME3.0
WPSSO_DUPE_CHECK_WARNING_TIME2.5
WPSSO_GET_POSTS_MAX_TIME0.10
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_UPSCALE_ALLfalse
WPSSO_IMAGE_UPSCALE_TESTfalse
WPSSO_JSON_PRETTY_PRINTtrueAllows for better visual cues in the Google validator.
WPSSO_MENU_ORDER80.0
WPSSO_META_NAME'_wpsso_meta'
WPSSO_META_ATTACHED_NAME'_wpsso_meta_attached'
WPSSO_META_RATING_NAME'rating'
WPSSO_META_CACHE_PRIORITY-10
WPSSO_META_SAVE_PRIORITY-100
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_TIME1.50
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_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_JOB_LOCATIONS_MAX5
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_TIMEMONTH_IN_SECONDS
WPSSO_SCHEMA_RECIPE_INGREDIENTS_MAX40
WPSSO_SCHEMA_RECIPE_INSTRUCTIONS_MAX40
WPSSO_SCHEMA_SAMEAS_URL_MAX5
WPSSO_SELECT_PERSON_NAMES_MAX100
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