• 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_Customer_Query::construct_request_limits() – Constructs the limits segment of the SQL request.

You appear to be a bot. Output may be restricted

Description

Constructs the limits segment of the SQL request.

Usage

$string = EDD_Customer_Query::construct_request_limits();

Parameters

Returns

string SQL limits segment.

Source

File name: easy-digital-downloads/includes/class-edd-customer-query.php
Lines:

1 to 11 of 11
  protected function construct_request_limits() {
    if ( $this->query_vars['number'] ) {
      if ( $this->query_vars['offset'] ) {
        return "LIMIT {$this->query_vars['offset']},{$this->query_vars['number']}";
      }

      return "LIMIT {$this->query_vars['number']}";
    }

    return '';
  }
 

 View on GitHub View on Trac

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

Primary Sidebar

Information

Function name: EDD_Customer_Query::construct_request_limits
Class ref: EDD_Customer_Query
Plugin ref: Easy Digital Downloads
Version: 2.11.6
Sourcefile: includes/class-edd-customer-query.php
File ref: includes/class-edd-customer-query.php
Deprecated?: No
API Letters: C,E,Q,R

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