Changeset 12206
- Timestamp:
- 08/30/2018 01:27:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/src/bp-templates/bp-nouveau/includes/template-tags.php
r12183 r12206 1901 1901 do_action( 'bp_members_directory_member_sub_types' ); 1902 1902 } 1903 } elseif ( 'group' === $objects['primary'] && 'activity' === $objects['secondary'] ) { 1904 /** 1905 * Fires inside the syndication options list, after the RSS option. 1906 * 1907 * @since 1.2.0 1908 */ 1909 do_action( 'bp_group_activity_syndication_options' ); 1903 } elseif ( 'group' === $objects['primary'] ) { 1904 if ( 'members' !== $objects['secondary'] ) { 1905 /** 1906 * Filter here to edit the HTML output of the displayed group search form. 1907 * 1908 * @since 3.2.0 1909 * 1910 * @param string $search_form_html The HTML output for the directory search form. 1911 */ 1912 echo apply_filters( "bp_group_{$objects['secondary']}_search_form", $search_form_html ); 1913 1914 } else { 1915 /** 1916 * Filters the Members component search form. 1917 * 1918 * @since 1.9.0 1919 * 1920 * @param string $search_form_html HTML markup for the member search form. 1921 */ 1922 echo apply_filters( 'bp_directory_members_search_form', $search_form_html ); 1923 } 1924 1925 if ( 'members' === $objects['secondary'] ) { 1926 /** 1927 * Fires at the end of the group members search unordered list. 1928 * 1929 * Part of bp_groups_members_template_part(). 1930 * 1931 * @since 1.5.0 1932 */ 1933 do_action( 'bp_members_directory_member_sub_types' ); 1934 1935 } elseif ( 'activity' === $objects['secondary'] ) { 1936 /** 1937 * Fires inside the syndication options list, after the RSS option. 1938 * 1939 * @since 1.2.0 1940 */ 1941 do_action( 'bp_group_activity_syndication_options' ); 1942 } 1910 1943 } 1911 1944 }
Note: See TracChangeset
for help on using the changeset viewer.