| 1 |
<?php |
| 2 |
// include individual modules |
| 3 |
$wppb_generalSettings = get_option('wppb_general_settings', 'not_found' ); |
| 4 |
if ( ( $wppb_generalSettings != 'not_found' ) && ( $wppb_generalSettings['loginWith'] != 'email' ) ) |
| 5 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/username/username.php' ); |
| 6 |
|
| 7 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/first-name/first-name.php' ); |
| 8 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/last-name/last-name.php' ); |
| 9 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/password/password.php' ); |
| 10 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/password-repeat/password-repeat.php' ); |
| 11 |
|
| 12 |
// Default contact methods were removed in WP 3.6. A filter dictates contact methods. |
| 13 |
if ( apply_filters( 'wppb_remove_default_contact_methods', get_site_option( 'initial_db_version' ) < 23588 ) ){ |
| 14 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/aim/aim.php' ); |
| 15 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/yim/yim.php' ); |
| 16 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/jabber/jabber.php' ); |
| 17 |
} |
| 18 |
|
| 19 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/nickname/nickname.php' ); |
| 20 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/description/description.php' ); |
| 21 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/website/website.php' ); |
| 22 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/email/email.php' ); |
| 23 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/display-name/display-name.php' ); |
| 24 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/headings/name.php' ); |
| 25 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/headings/contact-info.php' ); |
| 26 |
include_once( WPPB_PLUGIN_DIR.'/front-end/default-fields/headings/about-yourself.php' ); |