bp_groupblog_admin_form_action

Bp_groupblog_admin_form_action().

Description

bp_groupblog_admin_form_action( $page, (bool) $group = false ); 

Parameters (2)

0. $page
The page.
1. $group — Optional. (bool) => false
The group.

Usage

  1. if ( !function_exists( 'bp_groupblog_admin_form_action' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bp-groupblog/bp-groupblog-templatetags.php'; 
  3.  
  4. // The page. 
  5. $page = null; 
  6.  
  7. // The group. 
  8. $group = false; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = bp_groupblog_admin_form_action($page, $group); 
  12.  

Defined (1)

The function is defined in the following location(s).

/bp-groupblog-templatetags.php  
  1. function bp_groupblog_admin_form_action( $page, $group = false ) { 
  2. global $bp, $groups_template; 
  3.  
  4. if ( !$group ) 
  5. $group =& $groups_template->group; 
  6.  
  7. echo apply_filters( 'bp_groupblog_admin_form_action', bp_group_permalink( $group, false ) . '/admin/' . $page );