Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Freemius::wp_cookie_constants()
Define cookie constants which are required by Freemius::_get_current_wp_user() since it uses wp_get_current_user() which needs the cookie constants set. When a plugin is network activated the cookie constants are only configured after the network plugins activation, therefore, if we don’t define those constants WP will throw PHP warnings/notices.
Description Description
Source Source
File: includes/pum-sdk/freemius/includes/class-freemius.php
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.1.1 | Introduced. |