本文整理汇总了PHP中bp_get_signup_blog_privacy_value函数的典型用法代码示例。如果您正苦于以下问题:PHP bp_get_signup_blog_privacy_value函数的具体用法?PHP bp_get_signup_blog_privacy_value怎么用?PHP bp_get_signup_blog_privacy_value使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bp_get_signup_blog_privacy_value函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bp_signup_blog_privacy_value
/**
* Output the 'signup_blog_privacy' value submitted at signup.
*/
function bp_signup_blog_privacy_value()
{
echo bp_get_signup_blog_privacy_value();
}
示例2: do_action
<?php
do_action('bp_signup_blog_privacy_errors');
?>
<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php
if ('public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value()) {
?>
checked="checked"<?php
}
?>
/> <?php
_e('Yes', 'buddypress');
?>
</label>
<label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php
if ('private' == bp_get_signup_blog_privacy_value()) {
?>
checked="checked"<?php
}
?>
/> <?php
_e('No', 'buddypress');
?>
</label>
</div>
</div><!-- #blog-details-section -->
<?php
do_action('bp_after_blog_details_fields');
示例3: bp_ajax_register_form_function
//.........这里部分代码省略.........
" />
<?php
}
?>
<br/><span class="help">Example: NewBusiness.webento.com</span>
</div>
<div style="clear:both"></div>
<div class="ctrlHolder fullwidth">
<label for="signup_blog_title"><?php
_e('Site Title', 'buddypress');
?>
<?php
_e('', 'buddypress');
?>
</label>
<div id="signup_blog_title_error" class="error"></div>
<input type="text" name="signup_blog_title" id="signup_blog_title" value="<?php
bp_signup_blog_title_value();
?>
" />
<br/><span class="help">Example: New Business</span>
</div>
<span style=" display: block;float: left;margin-left: 30px; color:#fff; background:none !important;" class="label"><?php
_e('I would like my site to appear in search engines, and in public listings around this network.', 'buddypress');
?>
:</span>
<div class="ctrlHolder">
<div id="signup_blog_privacy_error" class="error"></div>
<label style="display:inline-block; "><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_public" value="public"<?php
if ('public' == bp_get_signup_blog_privacy_value() || !bp_get_signup_blog_privacy_value()) {
?>
checked="checked"<?php
}
?>
/> <?php
_e('Yes', 'buddypress');
?>
</label>
<label style="display:inline-block; margin-left:10px;"><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php
if ('private' == bp_get_signup_blog_privacy_value()) {
?>
checked="checked"<?php
}
?>
/> <?php
_e('No', 'buddypress');
?>
</label>
</div>
<?php
do_action('bp_after_blog_details_fields');
?>
</div>
</div><!-- #blog-details-section -->
<?php
}
?>