diff --git a/stubs/WordPress/functions.php b/stubs/WordPress/functions.php index cc278aa..4700c19 100644 --- a/stubs/WordPress/functions.php +++ b/stubs/WordPress/functions.php @@ -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