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

is_frontend_ajax()

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
Tags