BP_GOPP_Image_Editor_GS::gs_cmd( string $args )
Returns (shell-escaped) shell command with passed-in arguments tagged on, and stderr redirected to stdout.
Description
Parameters
- $args
-
(Required) Arguments, already shell escaped.
Return
(false|string) Returns false if no executable path, else command string.
Source
File: bp-document/classes/class-bp-gopp-image-editor-gs.php
protected static function gs_cmd( $args ) { if ( $gs_cmd_path = self::gs_cmd_path() ) { return self::escapeshellarg( $gs_cmd_path ) . ' ' . $args . ' 2>&1'; } return false; }
Changelog
Version | Description |
---|---|
BuddyBoss 1.4.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.