Easy Digital Downloads
  • Package
  • Class
  • Tree

Packages

  • EDD
    • Admin
      • Actions
      • Add-ons
      • Dashboard
      • Discounts
      • Downloads
      • Export
      • Notices
      • Pages
      • Payments
      • Reports
      • Settings
      • System
      • Upgrades
      • Upload
      • Welcome
    • Cart
    • Checkout
    • Classes
      • API
      • Fees
      • HTML
      • Roles
      • Session
    • Emails
    • Functions
      • AJAX
      • Compatibility
      • Errors
      • Formatting
      • Install
      • Login
      • Taxes
      • Templates
    • Gateways
    • Logging
    • Payments
    • Shortcodes
    • Widgets

Classes

  • EDD_Session

Class EDD_Session

EDD_Session Class

Package: EDD\Classes\Session
Copyright: Copyright (c) 2013, Pippin Williamson
License: GNU Public License
Since: 1.5
Located at includes/class-edd-session.php

Methods summary

public
# __construct( )

Get things started

Get things started

Defines our WP_Session constants, includes the necessary libraries and retrieves the WP Session instance

Since

1.5
public
# init( )

Setup the WP_Session instance

Setup the WP_Session instance

Since

1.5
public string
# get( string $key )

Retrieve a session variable

Retrieve a session variable

Parameters

$key
string
$key Session key

Returns

string
Session variable

Since

1.5

Used by

EDD_Fees::get_fees()
edd_get_errors()
edd_local_tax_opted_in()
edd_opt_into_local_taxes()
edd_opt_out_local_taxes()
edd_set_error()
public array
# set( string $key, string $value )

Set a session variable

Set a session variable

Parameters

$key
string
$key Session key
$value
string
$variable Session variable

Returns

array
Session variable

Since

1.5

Used by

EDD_Fees::add_fee()
EDD_Fees::remove_fee()
EDD_Fees::record_fees()
edd_clear_errors()
edd_unset_error()

Magic methods summary

Easy Digital Downloads API documentation generated by ApiGen 2.8.0