bp_blogs_get_signup_form_submitted_vars()
Returns the Blog signup’s submitted vars.
Return Return
(array) An associative array containing the Blog signup's submitted vars.
Source Source
File: bp-blogs/bp-blogs-functions.php
function bp_blogs_get_signup_form_submitted_vars() { $exprected_vars = array( 'blogname' => '', 'blog_title' => '', 'blog_public' => 0, ); $submitted_vars = wp_parse_args( $_POST, $exprected_vars ); return array_map( 'wp_unslash', array_intersect_key( $submitted_vars, $exprected_vars ) ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
7.0.0 | Introduced. |