function mb_board_home_url() { echo mb_get_board_home_url(); }
/** * Filters the edit user link for front-end editing. * * @since 1.0.0 * @access public * @param string $url * @param int $post_id */ function mb_get_edit_user_link_filter($url, $user_id) { if (is_admin() || !mb_is_message_board()) { return $url; } return add_query_arg(array('mb_action' => 'edit', 'user_id' => $user_id), mb_get_board_home_url()); }