Changeset 9495
- Timestamp:
- 02/17/2015 07:04:05 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/classes/class-bp-group-extension.php
r9486 r9495 762 762 public function _display_hook() { 763 763 add_action( 'bp_template_content', array( &$this, 'call_display' ) ); 764 765 /** 766 * Filters the template to load for the main display method. 767 * 768 * @since BuddyPress (1.0.0) 769 * 770 * @param string $template_file Path to the template to load. 771 */ 764 772 bp_core_load_template( apply_filters( 'bp_core_template_plugin', $this->template_file ) ); 765 773 } … … 1024 1032 // Perform a redirect only if one has not already taken place 1025 1033 if ( empty( $this->post_save_redirect ) ) { 1034 1035 /** 1036 * Filters the URL to redirect to after group edit screen save. 1037 * 1038 * Only runs if a redirect has not already occurred. 1039 * 1040 * @since BuddyPress (2.1.0) 1041 * 1042 * @param string $value URL to redirect to. 1043 */ 1026 1044 $redirect_to = apply_filters( 'bp_group_extension_edit_screen_save_redirect', bp_get_requested_url( ) ); 1027 1045
Note: See TracChangeset
for help on using the changeset viewer.