You appear to be a bot. Output may be restricted
Description
Gets breadcrumb options that are enabled in Genesis settings.
Usage
$array = genesis_breadcrumb_options_enabled();
Parameters
Returns
array The breadcrumb options that are enabled.
Source
File name: genesis/lib/functions/breadcrumb.php
Lines:
1 to 14 of 14
function genesis_breadcrumb_options_enabled() { $genesis_options = get_option( GENESIS_SETTINGS_FIELD ); $active_breadcrumb_types = array_filter( $genesis_options, function ( $value, $option_name ) { return strpos( $option_name, 'breadcrumb_' ) === 0 && $value; }, ARRAY_FILTER_USE_BOTH ); return array_keys( $active_breadcrumb_types ); }