From 2be8d02c5f6036a0d3c0984045e216d18869033c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Sun, 5 Feb 2023 23:47:57 +0100 Subject: [PATCH] Added wp_add_inline_script() --- stubs/WordPress/functions.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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