is_astra_breadcrumb_trail( string $echo )
Deprecating is_astra_breadcrumb_trail function.
Description
Checking if breadcrumb with trail.
See also
Parameters
- $echo
-
(string) (Required) Whether to echo or return.
Return
(string) breadcrumb markup
Source
File: classes/deprecated/deprecated-functions.php
function is_astra_breadcrumb_trail( $echo = true ) { if ( function_exists( 'astra_get_breadcrumb' ) ) { return astra_get_breadcrumb( $echo ); } require ASTRA_EXT_DIR . '/addons/advanced-headers/classes/astra-breadcrumbs.php'; if ( ! $echo ) { ob_start(); astra_breadcrumb(); return ob_get_clean(); } echo astra_breadcrumb(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
3.6.2 | Introduced. |