Changeset 13988 for trunk/src/bp-activity/bp-activity-functions.php
- Timestamp:
- 07/27/2024 07:58:27 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-activity/bp-activity-functions.php
r13927 r13988 1871 1871 * @since 1.2.0 1872 1872 * @since 2.4.0 Introduced the `$fields` parameter. 1873 * @since 15.0.0 Introduced the `cache_results` parameter. 1873 1874 * 1874 1875 * @see BP_Activity_Activity::get() For more information on accepted arguments … … 1899 1900 'in' => false, // Comma-separated list or array of activity IDs to which you want to limit the query. 1900 1901 'spam' => 'ham_only', // 'ham_only' (default), 'spam_only' or 'all'. 1902 'cache_results' => true, 1901 1903 'update_meta_cache' => true, 1902 1904 'count_total' => false, … … 1938 1940 'in' => $r['in'], 1939 1941 'spam' => $r['spam'], 1942 'cache_results' => $r['cache_results'], 1940 1943 'update_meta_cache' => $r['update_meta_cache'], 1941 1944 'count_total' => $r['count_total'], … … 1960 1963 * 1961 1964 * @since 1.2.0 1965 * @since 15.0.0 Introduced the `cache_results` parameter. 1962 1966 * 1963 1967 * @see BP_Activity_Activity::get() For more information on accepted arguments. … … 1985 1989 'sort' => 'DESC', // Sort ASC or DESC. 1986 1990 'spam' => 'ham_only', // Retrieve items marked as spam. 1991 'cache_results' => true, 1987 1992 'update_meta_cache' => true, 1988 1993 ), … … 1999 2004 'sort' => $r['sort'], 2000 2005 'spam' => $r['spam'], 2006 'cache_results' => $r['cache_results'], 2001 2007 'update_meta_cache' => $r['update_meta_cache'], 2002 2008 );
Note: See TracChangeset
for help on using the changeset viewer.