本文整理汇总了PHP中bp_get_blog_signup_allowed函数的典型用法代码示例。如果您正苦于以下问题:PHP bp_get_blog_signup_allowed函数的具体用法?PHP bp_get_blog_signup_allowed怎么用?PHP bp_get_blog_signup_allowed使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bp_get_blog_signup_allowed函数的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: bp_blog_signup_allowed
/**
* Output whether blog signup is allowed.
*
* @todo Deprecate. It doesn't make any sense to echo a boolean.
*/
function bp_blog_signup_allowed()
{
echo bp_get_blog_signup_allowed();
}
示例2: do_action
}
}
?>
</div><!-- #profile-details-section -->
<?php
do_action('bp_after_signup_profile_fields');
?>
<?php
}
?>
<?php
if (bp_get_blog_signup_allowed()) {
?>
<?php
do_action('bp_before_blog_details_fields');
?>
<?php
/***** Blog Creation Details ******/
?>
<div class="register-section" id="blog-details-section">
<h4><?php
_e('Blog Details', 'buddypress');
?>
示例3: bp_ajax_register_form_function
//.........这里部分代码省略.........
do_action('bp_custom_profile_edit_fields');
?>
<p class="description"><?php
bp_the_profile_field_description();
?>
</p>
</div>
<?php
}
?>
<input type="hidden" name="signup_profile_field_ids" id="signup_profile_field_ids" value="<?php
bp_the_profile_group_field_ids();
?>
" />
<?php
}
}
}
?>
</div><!-- #profile-details-section -->
<?php
do_action('bp_after_signup_profile_fields');
?>
<?php
if (bp_get_blog_signup_allowed()) {
?>
<?php
do_action('bp_before_blog_details_fields');
?>
<?php
/***** Blog Creation Details ******/
?>
<div class="register-section clearfix" id="blog-details-section ">
<div style="display:none" class="ctrlHolder">
<p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1" checked="checked" /> <?php
_e('Yes, I\'d like to create a new site', 'buddypress');
?>
</p>
</div>
<div style="clear:both"></div>
<div id="blog-details">
<div class="ctrlHolder fullwidth">
<label for="signup_blog_url"><?php
_e('Choose Site Name', 'buddypress');
?>
<?php
_e('', 'buddypress');
?>
</label>
<div id="signup_blog_url_error" class="error"></div>
<?php
if (is_subdomain_install()) {