• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / edd_get_registered_settings() – Retrieve the array of plugin settings

You appear to be a bot. Output may be restricted

Description

Retrieve the array of plugin settings

Usage

$array = edd_get_registered_settings();

Parameters

Returns

array

Source

File name: easy-digital-downloads/includes/admin/settings/register-settings.php
Lines:

101 to 200 of 765
            'name' => '<h3>' . __( 'Tracking', 'easy-digital-downloads' ) . '</h3>',
            'desc' => '',
            'type' => 'header',
          ),
          'allow_tracking' => array(
            'id'   => 'allow_tracking',
            'name' => __( 'Allow Usage Tracking?', 'easy-digital-downloads' ),
            'desc' => sprintf(
              __( 'Allow Easy Digital Downloads to anonymously track how this plugin is used and help us make the plugin better. Opt-in to tracking and our newsletter and immediately be emailed a discount to the EDD shop, valid towards the <a href="%s" target="_blank">purchase of extensions</a>. No sensitive data is tracked.', 'easy-digital-downloads' ),
              'https://easydigitaldownloads.com/downloads/?utm_source=' . substr( md5( get_bloginfo( 'name' ) ), 0, 10 ) . '&utm_medium=admin&utm_term=settings&utm_campaign=EDDUsageTracking'
            ),
            'type' => 'checkbox',
          ),
        ),
        'currency' => array(
          'currency' => array(
            'id'      => 'currency',
            'name'    => __( 'Currency', 'easy-digital-downloads' ),
            'desc'    => __( 'Choose your currency. Note that some payment gateways have currency restrictions.', 'easy-digital-downloads' ),
            'type'    => 'select',
            'options' => edd_get_currencies(),
            'chosen'  => true,
          ),
          'currency_position' => array(
            'id'      => 'currency_position',
            'name'    => __( 'Currency Position', 'easy-digital-downloads' ),
            'desc'    => __( 'Choose the location of the currency sign.', 'easy-digital-downloads' ),
            'type'    => 'select',
            'options' => array(
              'before' => __( 'Before - $10', 'easy-digital-downloads' ),
              'after'  => __( 'After - 10$', 'easy-digital-downloads' ),
            ),
          ),
          'thousands_separator' => array(
            'id'   => 'thousands_separator',
            'name' => __( 'Thousands Separator', 'easy-digital-downloads' ),
            'desc' => __( 'The symbol (usually , or .) to separate thousands.', 'easy-digital-downloads' ),
            'type' => 'text',
            'size' => 'small',
            'std'  => ',',
          ),
          'decimal_separator' => array(
            'id'   => 'decimal_separator',
            'name' => __( 'Decimal Separator', 'easy-digital-downloads' ),
            'desc' => __( 'The symbol (usually , or .) to separate decimal points.', 'easy-digital-downloads' ),
            'type' => 'text',
            'size' => 'small',
            'std'  => '.',
          ),
        ),
        'api' => array(
          'api_settings' => array(
            'id'   => 'api_settings',
            'name' => '<h3>' . __( 'API', 'easy-digital-downloads' ) . '</h3>',
            'desc' => '',
            'type' => 'header',
            'tooltip_title' => __( 'API Settings', 'easy-digital-downloads' ),
            'tooltip_desc'  => __( 'The Easy Digital Downloads REST API provides access to store data through our API endpoints. Enable this setting if you would like all user accounts to be able to generate their own API keys.', 'easy-digital-downloads' ),
          ),
          'api_allow_user_keys' => array(
            'id'   => 'api_allow_user_keys',
            'name' => __( 'Allow User Keys', 'easy-digital-downloads' ),
            'desc' => __( 'Check this box to allow all users to generate API keys. Users with the \'manage_shop_settings\' capability are always allowed to generate keys.', 'easy-digital-downloads' ),
            'type' => 'checkbox',
          ),
          'api_help' => array(
            'id'   => 'api_help',
            'desc' => sprintf( __( 'Visit the <a href="%s" target="_blank">REST API documentation</a> for further information.', 'easy-digital-downloads' ), 'http://docs.easydigitaldownloads.com/article/1131-edd-rest-api-introduction' ),
            'type' => 'descriptive_text',
          ),
        ),
      )
    ),
    
/** Payment Gateways Settings */
    'gateways' => apply_filters('edd_settings_gateways',
      array(
        'main' => array(
          'test_mode' => array(
            'id'   => 'test_mode',
            'name' => __( 'Test Mode', 'easy-digital-downloads' ),
            'desc' => __( 'While in test mode no live transactions are processed. To fully use test mode, you must have a sandbox (test) account for the payment gateway you are testing.', 'easy-digital-downloads' ),
            'type' => 'checkbox',
          ),
          'gateways' => array(
            'id'      => 'gateways',
            'name'    => __( 'Payment Gateways', 'easy-digital-downloads' ),
            'desc'    => __( 'Choose the payment gateways you want to enable.', 'easy-digital-downloads' ),
            'type'    => 'gateways',
            'options' => edd_get_payment_gateways(),
          ),
          'default_gateway' => array(
            'id'      => 'default_gateway',
            'name'    => __( 'Default Gateway', 'easy-digital-downloads' ),
            'desc'    => __( 'This gateway will be loaded automatically with the checkout page.', 'easy-digital-downloads' ),
            'type'    => 'gateway_select',
            'options' => edd_get_payment_gateways(),
          ),
          'accepted_cards' => array(
            'id'      => 'accepted_cards',
            'name'    => __( 'Accepted Payment Method Icons', 'easy-digital-downloads' ),
 
« Previous [1] [2] [3] [4] … [8] Next »

 View on GitHub View on Trac

Published: 26th November 2019 | Last updated: 26th January 2022

Primary Sidebar

Information

Function name: edd_get_registered_settings
Plugin ref: Easy Digital Downloads
Version: 2.11.6
Sourcefile: includes/admin/settings/register-settings.php
File ref: includes/admin/settings/register-settings.php
Deprecated?: No
API Letters: E,G,R,S

Footer

Easy Digital Downloads a2z
Easy Digital Downloads a2z
Easy Digital Downloads a2z
WordPress 5.9.3
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  edd.wp-a2z.org
© Copyright Easy Digital Downloads a2z 2014-2022. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites