403Webshell
Server IP : 172.67.147.195  /  Your IP : 216.73.216.142
Web Server : Apache/2
System : Linux hosting8537.lvs 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : mienphi ( 1014)
PHP Version : 8.2.14
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/mienphi/public_html/wp-content/plugins/buddypress/bp-core/deprecated/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/mienphi/public_html/wp-content/plugins/buddypress/bp-core/deprecated/1.2.php
<?php
/**
 * Deprecated Functions
 *
 * @package BuddyPress
 * @subpackage Core
 */

/**
 * Retrieve sitewide activity
 *
 * You should use bp_activity_get() instead
 *
 * @since 1.0.0
 * @deprecated 1.2.0
 *
 * @param string|array $args
 *
 * @return object $activity The activity/activities object
 */
function bp_activity_get_sitewide( $args = '' ) {
	_deprecated_function( __FUNCTION__, '1.2', 'bp_activity_get()' );

	$defaults = array(
		'max'              => false,  // Maximum number of results to return.
		'page'             => 1,      // Page 1 without a per_page will result in no pagination.
		'per_page'         => false,  // Results per page.
		'sort'             => 'DESC', // Sort ASC or DESC.
		'display_comments' => false,  // False for no comments. 'stream' for within stream display, 'threaded' for below each activity item.

		'search_terms'     => false,  // Pass search terms as a string.
		'show_hidden'      => false,  // Show activity items that are hidden site-wide?

		/**
		 * Pass filters as an array:
		 * array(
		 * 	'user_id'      => false,  // user_id to filter on.
		 *	'object'       => false,  // Object to filter on e.g. groups, profile, status, friends.
		 *	'action'       => false,  // Action to filter on e.g. new_wire_post, new_forum_post, profile_updated.
		 *	'primary_id'   => false,  // Object ID to filter on e.g. a group_id or forum_id or blog_id etc.
		 *	'secondary_id' => false,  // Secondary object ID to filter on e.g. a post_id.
		 * );
		 */
		'filter' => array()
	);

	$args = bp_parse_args(
		$args,
		$defaults
	);

	return apply_filters( 'bp_activity_get_sitewide', BP_Activity_Activity::get( $args ), $r );
}

/**
 * Output the member activity feed link.
 *
 * @since 1.0.0
 * @deprecated 1.2.0
 */
function bp_activities_member_rss_link() {
	_deprecated_function( __FUNCTION__, '1.2', 'bp_member_activity_feed_link()' );
	bp_member_activity_feed_link();
}

Youez - 2016 - github.com/yon3zu
LinuXploit