Skip to content

Commit

Permalink
Add return false
Browse files Browse the repository at this point in the history
  • Loading branch information
burhandodhy committed Mar 7, 2024
1 parent 525aa71 commit d31373f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/api/class-bc-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,8 @@ private function cached_get( $url, $args, $cache_fail_response = false ) {
* @param {bool} $cache_fail_response Whether to cache the response.
* @param {string} $url The URL of the request.
* @param {array} $args The arguments of the request.
*
* @return bool Whether to cache the response.
*/
$cache_fail_response = apply_filters( 'brightcove_cache_api_fail_response', $cache_fail_response, $url, $args );

Expand Down

0 comments on commit d31373f

Please sign in to comment.