1. Home
  2. Docs
  3. Function Reference
  4. Functions
  5. is_frontend_ajax_fn()

is_frontend_ajax_fn()

Determine if an Ajax request is coming from the front-end or back-end.

Copy to Clipboard

Parameters

This function has no parameters.

Return

true or false

true if front-end, false if back-end

Example

Copy to Clipboard

Location

This function can be found here: