wp_parse_args Wordpress function


Description:

Merge user defined arguments into defaults array.


Syntax:


Arguments:

(string|array) $args Value to merge with $defaults
(array) $defaults Array that serves as the defaults.


Return Type:

(array) Merged user defined values with defaults.


Define At:

wp-includes/functions.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_parse_args


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×