WP_Importer::bump_request_timeout() WordPress Method
This method is used to increase the maximum execution time for a script. This is useful if you are importing a large amount of data and you need to increase the amount of time that the script can run.
WP_Importer::bump_request_timeout( int $val ) #
Bump up the request timeout for http requests
Contents
Parameters
- $val
(int)(Required)
Return
(int)
Source
File: wp-admin/includes/class-wp-importer.php
public function bump_request_timeout( $val ) { return 60; }
Expand full source codeCollapse full source codeView on TracView on GitHub