fm_progress_bar_control
bool fm_progress_bar_control ( [bool $status
] )
Description
Allows you to enable or disable progress bars or get the current status.
Parameters
status
(optional)
Pass in false to disable progress bars or true to enable progress bars.
Return
Returns true if progress bars are enabled or false if progress bars are disabled. If no parameter is passed in, the current status will be returned.
Errors
315 Function not supported on server
Example 1 - Disable progress bars and confirm
fm_progress_bar_control(false); echo fm_progress_bar_control() ? 'enabled' : 'disabled'; /* Returns: disabled */