本文整理汇总了PHP中bp_signup_email_value函数的典型用法代码示例。如果您正苦于以下问题:PHP bp_signup_email_value函数的具体用法?PHP bp_signup_email_value怎么用?PHP bp_signup_email_value使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bp_signup_email_value函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bp_ajax_register_form_function
//.........这里部分代码省略.........
?>
<div class="register-section ajax-register-section" id="basic-details-section">
<?php
/***** Basic Account Details ******/
?>
<div class="ctrlHolder">
<label for="signup_username"><?php
_e('Username', 'buddypress');
?>
<?php
_e('', 'buddypress');
?>
</label>
<div id="signup_username_error" class="error"></div>
<input type="text" name="signup_username" id="signup_username" value="<?php
bp_signup_username_value();
?>
" />
</div>
<div class="ctrlHolder">
<label for="signup_email"><?php
_e('Email Address', 'buddypress');
?>
<?php
_e('', 'buddypress');
?>
</label>
<div id="signup_email_error" class="error"></div>
<input type="text" name="signup_email" id="signup_email" value="<?php
bp_signup_email_value();
?>
" />
</div>
<div class="ctrlHolder">
<label for="signup_password"><?php
_e('Choose a Password', 'buddypress');
?>
<?php
_e('', 'buddypress');
?>
</label>
<div id="signup_password_error" class="error"></div>
<input type="password" name="signup_password" id="signup_password" value="" />
</div>
<div class="ctrlHolder">
<label for="signup_password_confirm"><?php
_e('Confirm Password', 'buddypress');
?>
<?php
_e('', 'buddypress');
?>
</label>
<div id="signup_password_confirm_error" class="error"></div>
<input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
</div>
</div><!-- #basic-details-section -->
<?php
do_action('bp_after_account_details_fields');
?>
示例2: bp_signup_username_value
bp_signup_username_value();
?>
" />
<label for="signup_email"><?php
_e('Email Address', 'buddypress');
?>
<?php
_e('(required)', 'buddypress');
?>
</label>
<?php
do_action('bp_signup_email_errors');
?>
<input type="text" name="signup_email" id="signup_email" value="<?php
bp_signup_email_value();
?>
" />
<label for="signup_password"><?php
_e('Choose a Password', 'buddypress');
?>
<?php
_e('(required)', 'buddypress');
?>
</label>
<?php
do_action('bp_signup_password_errors');
?>
<input type="password" name="signup_password" id="signup_password" value="" />
示例3: _render_buddypress_account_details
/**
* Renders BuddyPress account details section.
*
* @since 3.5
*
* @access private
*/
private function _render_buddypress_account_details()
{
?>
<div class="register-section" id="basic-details-section">
<h4><?php
_e('Account Details', 'membership');
?>
</h4>
<label for="signup_username"><?php
_e('Username (required)', 'membership');
?>
</label>
<?php
do_action('bp_signup_username_errors');
?>
<input type="text" name="signup_username" id="signup_username" required x-autocompletetype="nickname" value="<?php
bp_signup_username_value();
?>
">
<label for="signup_email"><?php
_e('Email Address (required)', 'membership');
?>
</label>
<?php
do_action('bp_signup_email_errors');
?>
<input type="text" name="signup_email" id="signup_email" required x-autocompletetype="email" value="<?php
bp_signup_email_value();
?>
">
<label for="signup_password"><?php
_e('Choose a Password (required)', 'membership');
?>
</label>
<?php
do_action('bp_signup_password_errors');
?>
<input type="password" name="signup_password" required id="signup_password" autocomplete="off">
<label for="signup_password_confirm"><?php
_e('Confirm Password (required)', 'membership');
?>
</label>
<?php
do_action('bp_signup_password_confirm_errors');
?>
<input type="password" name="signup_password_confirm" required id="signup_password_confirm" autocomplete="off">
<?php
do_action('bp_before_account_details_end');
?>
</div><!-- #basic-details-section --><?php
}