add_allowed_options() wordpress function and usage

Home / WordPress / WordPress Wiki / add_allowed_options() wordpress function and usage

add_allowed_options( array $new_options, string|array $options = '' )
Adds an array of options to the list of allowed options.

Parameters

$new_options

(array) (Required)

$options

(string|array) (Optional)

Default value: ”

Return

(array)

 

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments