{"circuits":{"ultra\/test":{"disc":"adds a comment to a post, and then updates the option number_of_comments to store the total number of comments","trigger_of_circuit":"ultra\/test","first_trigger":"ultra\/add_comment","id_of_first_component":"ultra-1223218847288558","component":"","arch":{"ultra-1223218847288558":{"trigger_of_component":"ultra\/add_comment","name":"ultra-add-comment","version":"1.0.0","path":"ultra\/test|ultra\/add_comment","composed":"0","x":"300","y":"200","icon_url":"img\/comment-edit-icon.png","path_of_component_dir":"\/home1\/meedawi\/public_html\/wp-content\/plugins\/ultrapress\/components\/ultra-add-comment\/","url_of_component_dir":"https:\/\/ultra-press.com\/wp-content\/plugins\/ultrapress\/components\/ultra-add-comment\/","disc":"add comment to post","outputConnectedToThisCirc":"","input":{"user_id":{"primal":"1","type_of_variable":"0","required":"1","description":"(int) ID of the user who submitted the comment.","name":"comment author"},"comment_post_ID":{"primal":"1","type_of_variable":"0","required":"1","description":"(int) ID of the post that relates to the comment.","name":"ID of the post"},"comment_content":{"primal":"0","type_of_variable":"0","required":"1","description":"(string) The content of the comment.","name":"content of comment"}},"outputs":{"\/success":{"description":"comment added successifully","name":"success","args":{"comment_id":{"type_of_variable":"","description":"(int) The new comments ID","name":"id of comment"},"user_id":{"type_of_variable":"","description":"(int) ID of the user who submitted the comment","name":"user ID"},"comment_post_ID":{"type_of_variable":"","description":"(int) ID of the post that relates to the comment","name":"comment post ID"}},"output_icon_url":"img\/success-icon.png","idOfConnection":"ultra-4448499303105102","connection":"ultra\/update_option","args_options":{"option":{"type_of_map":"literal","map":"number_of_comments"},"value":{"type_of_map":"eval","map":"[old_value] + 1"}}},"\/fail":{"description":"ERROR: comment not added","args":{"user_id":{"type_of_variable":"","description":"(int) ID of the user who try to submit the comment","name":"user ID"},"comment_post_ID":{"type_of_variable":"","description":"(int) ID of the post","name":"post ID"}},"output_icon_url":"img\/Button-Delete-icon.png"}}},"ultra-4448499303105102":{"trigger_of_component":"ultra\/update_option","name":"ultra-update-option","version":"1.0.0","path":"","composed":"0","x":"186.73648841489978","y":"1103.1575744174338","icon_url":"img\/pencil-icon.png","path_of_component_dir":"\/home1\/meedawi\/public_html\/wp-content\/plugins\/ultrapress\/components\/a-ultra-update-option\/","url_of_component_dir":"https:\/\/ultra-press.com\/wp-content\/plugins\/ultrapress\/components\/a-ultra-update-option\/","disc":"update option","outputConnectedToThisCirc":"","input":{"option":{"primal":"1","type_of_variable":"0","required":"1","description":"(string) (Required) Option name. Expected to not be SQL-escaped.","name":"option"},"value":{"primal":"0","type_of_variable":"0","required":"1","description":"(mixed) (Required) Option value. Must be serializable if non-scalar. Expected to not be SQL-escaped.","name":"option"}},"additional_input":{"old_value":{"type_of_variable":"0","description":"old value of Option if exist, or empty"}},"outputs":{"\/success":{"description":"option updated successifully","name":"success","args":{"value":{"type_of_variable":"","description":"new value","name":"value"}},"output_icon_url":"img\/success-icon.png"},"\/fail":{"description":"option not updated","output_icon_url":"img\/Button-Delete-icon.png"}}}},"ajaxable":"true"}},"name":"basic","desc":"basic","composed_components":[],"circuits_of_composed_components":[]}