make Blog url, username, and site title the same
-
I have created a function to make these all these values the same
Here it is:
function my_bp_signup_blog_url_value() { echo my_bp_get_signup_blog_url_value(); echo my_bp_get_signup_blog_title_value(); echo my_bp_get_signup_username_value(); } function my_bp_get_signup_blog_url_value() { $value = ''; if ( isset( $_POST ) ) $value = $_POST; return apply_filters( 'my_bp_get_signup_blog_url_value', $value ); } function my_bp_get_signup_blog_title_value() { $value; if ( isset( $_POST ) ) $value = $_POST; return apply_filters( 'my_bp_get_signup_blog_title_value', $value ); } function my_bp_get_signup_username_value() { $value; if ( isset( $_POST ) ) $value = $_POST; return apply_filters( 'my_bp_get_signup_username_value', $value ); }
It sets the values, but the required errors comes up. What is wrong with my function or what is a better way to do it.
thanks ahead of time
- The topic ‘make Blog url, username, and site title the same’ is closed to new replies.