public function getActivityConfigs( $activity, $config_path ) {
		$configs = array();

		if ( file_exists( $config_path ) ) {
			$configs = require $config_path;
		}

		return isset( $configs[ $activity ] ) ? $configs[ $activity ] : array();
	}
public function getActivityConfigs( $activity, $config_path ) {
		$configs = array();

		if ( file_exists( $config_path ) ) {
			$configs = require $config_path;
		}

		return isset( $configs[ $activity ] ) ? $configs[ $activity ] : array();
	}
public function getActivityConfigs ( $ activity , $ config_path ) { $ configs = array ( ) ; if ( file_exists ( $ config_path ) ) { $ configs = require $ config_path ; } return isset ( $ configs [ $ activity ] ) ? $ configs [ $ activity ] : array ( ) ; }
Get the configs for a particular activity.

@since 2.7.7

@var    string $activity    The name of the activity.
@var    string $config_path The full path to the config file.
@return array               An array of configs.
Get the configs for a particular activity .