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