charitable_get_current_url(), 'text' => __( 'Logout', 'charitable' ), ); $args = shortcode_atts( $defaults, $atts, 'charitable_logout' ); ob_start(); charitable_template( 'shortcodes/logout.php', $args ); /** * Filter the output of the login shortcode. * * @since 1.5.0 * * @param string $content Shortcode output. */ return apply_filters( 'charitable_logout_shortcode', ob_get_clean() ); } } endif;