| 1 |
<?php |
| 2 |
|
| 3 |
if ( ! defined( 'ABSPATH' ) ) { |
| 4 |
exit; // Exit if accessed directly |
| 5 |
} |
| 6 |
|
| 7 |
/** |
| 8 |
* Handle frontend form submissions |
| 9 |
* |
| 10 |
* @class PH_Form_Handler |
| 11 |
* @version 1.0.0 |
| 12 |
* @package PropertyHive/Classes/ |
| 13 |
* @category Class |
| 14 |
* @author PropertyHive |
| 15 |
*/ |
| 16 |
class PH_Form_Handler { |
| 17 |
|
| 18 |
/** |
| 19 |
* Hook in methods |
| 20 |
*/ |
| 21 |
public static function init() { |
| 22 |
//add_action( 'init', array( __CLASS__, 'process_login' ) ); |
| 23 |
//add_action( 'init', array( __CLASS__, 'process_registration' ) ); |
| 24 |
} |
| 25 |
|
| 26 |
/** |
| 27 |
* Process the login form. |
| 28 |
*/ |
| 29 |
public static function process_login() { |
| 30 |
|
| 31 |
} |
| 32 |
|
| 33 |
/** |
| 34 |
* Process the registration form. |
| 35 |
*/ |
| 36 |
public static function process_registration() { |
| 37 |
|
| 38 |
} |
| 39 |
} |
| 40 |
|
| 41 |
PH_Form_Handler::init(); |
| 42 |
|