Skip to content

mc_location_limit_sql

github-actions[bot] edited this page Jun 3, 2026 · 4 revisions

Customize location limit SQL.

Auto-generated Example

add_filter(
   'mc_location_limit_sql',
    function(
        string $limit_string,
        string $ltype,
        string $lvalue
    ) {
        // Your code here.
        return $limit_string;
    },
    10,
    3
);

Parameters

  • string $limit_string SQL limit for location query.
  • string $ltype Ltype value passed.
  • string $lvalue Lvalue passed.

Returns

string

Files

apply_filters( 'mc_location_limit_sql', $limit_string, $ltype, $lvalue )

← All Hooks

Clone this wiki locally