MemberPress: Adjusting Paywall Cookie Expiry Time
add_filter( ‘mepr-paywall-cookie-time’, function( $expire_time ) { // Set cookie expiration time to X days (replace X with the number of days) $expire_time = ( time() + 60 * 60 * 24 * X ); // X represents the number of…Continue reading