fs_request_is_post

The WordPress Core fs request is post function.

Description

fs_request_is_post(); 

Usage

  1. if ( !function_exists( 'fs_request_is_post' ) ) { 
  2. require_once '/freemius/includes/fs-core-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = fs_request_is_post(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/freemius/includes/fs-core-functions.php  
  1. function fs_request_is_post() { 
  2. return ( 'post' === strtolower( $_SERVER['REQUEST_METHOD'] ) );