Skip to content

Commit

Permalink
Merge pull request #102 from jcvignoli/master
Browse files Browse the repository at this point in the history
set_transient() third param $expiration is optional
  • Loading branch information
marekdedic authored Jan 28, 2025
2 parents 81de215 + 7f94c95 commit c60941f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/WordPress/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ function set_theme_mod( $name, $value ) {
*
* @return bool
*/
function set_transient( $transient, $value, $expiration ) {
function set_transient( $transient, $value, $expiration = 0 ) {
}

/**
Expand Down

0 comments on commit c60941f

Please sign in to comment.