| 1 |
<?php |
| 2 |
/** |
| 3 |
* Displayed when a user is trying to access a page they shouldn't be (i.e. when trying to view 'My Account' but they're not logged in) |
| 4 |
* |
| 5 |
* Override this template by copying it to yourtheme/propertyhive/account/invalid-access.php. |
| 6 |
* |
| 7 |
* @author PropertyHive |
| 8 |
* @package PropertyHive/Templates |
| 9 |
* @version 1.0.0 |
| 10 |
*/ |
| 11 |
|
| 12 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly |
| 13 |
?> |
| 14 |
<p class="propertyhive-info"><?php |
| 15 |
echo esc_html(__( 'You must be logged in to view this.', 'propertyhive' )); |
| 16 |
?></p> |