This site is automated with JetFlow.io plugin and protected with WP Cerber security plugin

Newsletter Subscription

If you want to subscribe to our monthly newsletter, please submit the form below.

 

Get content of file or Media Library element

jetFlow.io > Documentation  > Workflow Actions  > Get content of file or Media Library element

Get content of file or Media Library element

Action File get contents will load content of the specified file to use it in a workflow.

Get file contents – workflow for WordPress action

Get file contents – workflow for WordPress action

To open existing file specify file name with full path. To get contents of a file in the Media Library you have to specify numerical ID of the that file. Content of the file will be available with pattern {PREVIOUS} in the next action in a workflow.

On any error produces false and writes error message to the Log. You can check if the given file is loaded successfully from the source by using control actions like Stop if or Run another workflow.

No Comments

Sorry, the comment form is closed at this time.