Browse: Home / Classes / LD_REST_Price_Types_Controller_V2 /

LD_REST_Price_Types_Controller_V2::get_rest_base

LD_REST_Price_Types_Controller_V2::get_rest_base( string $rest_slug = '',  string $default_value = '' )

Get the REST URL setting.


Description #


Parameters #

$rest_slug

(string) (Optional) Settings REST slug.

Default value: ''

$default_value

(string) (Optional) Default value if rest_slug is not found.

Default value: ''


Source #

File: includes/rest-api/v2/class-ld-rest-price-types-controller.php


Changelog #

Changelog
Version Description
3.3 Introduced.