This filter changes the protocol used for URLs (https:// vs http://). If $besecure is set to true, the page will be loaded over HTTPS. For more information, read this blog post.


apply_filters( 'pmpro_besecure', bool $besecure );

Parameters

$besecure
bool (false)

Return Value

The callback function should return true to force HTTPS or false to force HTTP.


Source

File: https://github.com/strangerstudios/paid-memberships-pro/blob/master/includes/functions.php

View in Source Code