Skip to content

Commit

Permalink
Added wp_add_inline_script()
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Feb 5, 2023
1 parent 73b49c0 commit 2be8d02
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions stubs/WordPress/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,16 @@ function update_user_meta( $user_id, $meta_key, $meta_value, $prev_value = '' )
function user_can( $user, $capability, ...$args ) {
}

/**
* @param string $handle
* @param string $data
* @param string $position
*
* @return bool
*/
function wp_add_inline_script( $handle, $data, $position = '' ) {
}

/**
* @param string $handle
* @param string $data
Expand Down

0 comments on commit 2be8d02

Please sign in to comment.