Skip to content

Commit 9fec954

Browse files
authored
Merge pull request #79 from skaut/wp_add_inline_scripts
Added wp_add_inline_script()
2 parents 73b49c0 + 2be8d02 commit 9fec954

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

stubs/WordPress/functions.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,16 @@ function update_user_meta( $user_id, $meta_key, $meta_value, $prev_value = '' )
12651265
function user_can( $user, $capability, ...$args ) {
12661266
}
12671267

1268+
/**
1269+
* @param string $handle
1270+
* @param string $data
1271+
* @param string $position
1272+
*
1273+
* @return bool
1274+
*/
1275+
function wp_add_inline_script( $handle, $data, $position = '' ) {
1276+
}
1277+
12681278
/**
12691279
* @param string $handle
12701280
* @param string $data

0 commit comments

Comments
 (0)