本文整理汇总了PHP中bp_get_group_request_accept_link函数的典型用法代码示例。如果您正苦于以下问题:PHP bp_get_group_request_accept_link函数的具体用法?PHP bp_get_group_request_accept_link怎么用?PHP bp_get_group_request_accept_link使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了bp_get_group_request_accept_link函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: do_action
?>
</span>
<?php
/**
* Fires inside the groups membership request list loop.
*
* @since BuddyPress (1.1.0)
*/
do_action('bp_group_membership_requests_admin_item');
?>
<div class="action">
<?php
bp_button(array('id' => 'group_membership_accept', 'component' => 'groups', 'wrapper_class' => 'accept', 'link_href' => bp_get_group_request_accept_link(), 'link_title' => __('Accept', 'buddypress'), 'link_text' => __('Accept', 'buddypress')));
?>
<?php
bp_button(array('id' => 'group_membership_reject', 'component' => 'groups', 'wrapper_class' => 'reject', 'link_href' => bp_get_group_request_reject_link(), 'link_title' => __('Reject', 'buddypress'), 'link_text' => __('Reject', 'buddypress')));
?>
<?php
/**
* Fires inside the list of membership request actions.
*
* @since BuddyPress (1.1.0)
*/
do_action('bp_group_membership_requests_admin_item_action');
?>
示例2: bp_group_request_accept_link
function bp_group_request_accept_link()
{
echo bp_get_group_request_accept_link();
}
示例3: bp_group_request_comment
bp_group_request_comment();
?>
</span></h4>
<span class="label label-default activity"><?php
bp_group_request_time_since_requested();
?>
</span>
<?php
do_action('bp_group_membership_requests_admin_item');
?>
<div class="action">
<?php
bp_button(array('id' => 'group_membership_accept', 'component' => 'groups', 'wrapper_class' => 'accept', 'link_class' => 'btn btn-default', 'link_href' => bp_get_group_request_accept_link(), 'link_title' => __('Accept', 'firmasite'), 'link_text' => __('Accept', 'firmasite')));
?>
<?php
bp_button(array('id' => 'group_membership_reject', 'component' => 'groups', 'wrapper_class' => 'reject', 'link_class' => 'btn btn-default', 'link_href' => bp_get_group_request_reject_link(), 'link_title' => __('Reject', 'firmasite'), 'link_text' => __('Reject', 'firmasite')));
?>
<?php
do_action('bp_group_membership_requests_admin_item_action');
?>
</div>
</div></div>
</li>
<?php
示例4: bp_group_request_comment
</span>
</div>
<div class="dd-bp-content"><?php
bp_group_request_comment();
?>
</div>
<?php
do_action('bp_group_membership_requests_admin_item');
?>
<div class="action">
<a href="<?php
echo bp_get_group_request_accept_link();
?>
" class="button green accept"><?php
_e('Accept', 'buddypress');
?>
</a>
<a href="<?php
echo bp_get_group_request_reject_link();
?>
" class="button red reject"><?php
_e('Reject', 'buddypress');
?>
</a>
<?php
do_action('bp_group_membership_requests_admin_item_action');
示例5: bp_group_request_time_since_requested
<li class="member directory-entry">
<div class="directory-member reply-author">
<?php
echo $user->block;
?>
</div>
<div class="directory-content">
<header class="activity-header">
<p class="activity"><?php
bp_group_request_time_since_requested();
?>
</p>
<div class="actions">
<?php
bp_button(array('id' => 'group_membership_accept', 'component' => 'groups', 'wrapper_class' => 'accept', 'link_href' => bp_get_group_request_accept_link(), 'link_title' => __('Accept', 'buddypress'), 'link_class' => 'button', 'link_text' => '<i class="fa fa-check"></i>Accept', 'wrapper' => false));
?>
<?php
bp_button(array('id' => 'group_membership_reject', 'component' => 'groups', 'wrapper_class' => 'reject', 'link_href' => bp_get_group_request_reject_link(), 'link_title' => __('Reject', 'buddypress'), 'link_class' => 'button', 'link_text' => '<i class="fa fa-remove"></i>Reject', 'wrapper' => false));
?>
</div>
</header>
<blockquote class="activity-content">
<?php
bp_group_request_comment();
?>
</blockquote>
</div>
</li>
<?php