Freemius::wp_cookie_constants()

Method: 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.

Source: includes/pum-sdk/freemius/includes/class-freemius.php:3524

Used by 0 functions | Uses 0 functions