static function isFormSubmission() {

		if ( empty( $_REQUEST['page'] ) ) {
			return false;
		}

		if ( 'pb_catalog' !== $_REQUEST['page'] ) {
			return false;
		}

		if ( $_SERVER['REQUEST_METHOD'] === 'POST' ) {
			return true;
		}

		if ( static::isCurrentAction( 'add' ) || static::isCurrentAction( 'remove' ) ) {
			return true;
		}

		return false;
	}
static function isFormSubmission() {

		if ( empty( $_REQUEST['page'] ) ) {
			return false;
		}

		if ( 'pb_catalog' !== $_REQUEST['page'] ) {
			return false;
		}

		if ( $_SERVER['REQUEST_METHOD'] === 'POST' ) {
			return true;
		}

		if ( static::isCurrentAction( 'add' ) || static::isCurrentAction( 'remove' ) ) {
			return true;
		}

		return false;
	}
static function isFormSubmission ( ) { if ( empty ( $ _REQUEST [ 'page' ] ) ) { return false ; } if ( 'pb_catalog' !== $ _REQUEST [ 'page' ] ) { return false ; } if ( $ _SERVER [ 'REQUEST_METHOD' ] === 'POST' ) { return true ; } if ( static :: isCurrentAction ( 'add' ) || static :: isCurrentAction ( 'remove' ) ) { return true ; } return false ; }
Check if a user submitted something to index.php?page=pb_catalog

@return bool
Check if a user submitted something to index . php?page = pb_catalog