%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /dom495844/wp-content/plugins/wpmu-dev-seo/includes/modules/advanced/breadcrumbs/
Upload File :
Create Path :
Current File : //dom495844/wp-content/plugins/wpmu-dev-seo/includes/modules/advanced/breadcrumbs/class-helper.php

<?php
/**
 * Breadcrumbs helper functionality.
 *
 * @since   3.5.2
 * @package SmartCrawl
 */

namespace SmartCrawl\Modules\Advanced\Breadcrumbs;

use SmartCrawl\Settings;

/**
 * Breadcrumbs helper class.
 */
class Helper {

	/**
	 * Get a single breadcrumb option value.
	 *
	 * @param string $key     Setting key.
	 * @param mixed  $default_value Default value.
	 *
	 * @return mixed
	 *
	 * @since 3.5.2 Moved to helper.
	 *
	 * @since 3.5.0
	 */
	public static function get_option( $key, $default_value = false ) {
		$options = \smartcrawl_get_array_value( get_option( Settings::ADVANCED_MODULE ), 'breadcrumbs', array() );

		$option = isset( $options[ $key ] ) ? $options[ $key ] : $default_value;

		/**
		 * Filter to modify breadcrumbs option value.
		 *
		 * @since 3.5.0
		 *
		 * @param mixed  $option  Option value.
		 * @param string $key     Setting key.
		 * @param mixed  $default_value Default value.
		 */
		return apply_filters( 'smartcrawl_breadcrumbs_get_option', $option, $key, $default_value );
	}

	/**
	 * Get separator element.
	 *
	 * If a custom separator is entered, use it.
	 *
	 * @since 3.5.0
	 * @since 3.5.2 Moved to helper.
	 *
	 * @return string
	 */
	public static function get_separator() {
		// When a custom separator is set.
		$custom_separator = self::get_option( 'custom_sep' );
		if ( ! empty( $custom_separator ) ) {
			$separator = wp_strip_all_tags( $custom_separator );
		} else {
			$separator = self::get_option( 'separator', 'greater-than' );
			$separator = \smartcrawl_get_separators( $separator );
			$separator = is_array( $separator ) ? '>' : $separator;
		}

		/**
		 * Filter to modify breadcrumbs separator.
		 *
		 * @since 3.5.0
		 *
		 * @param string $separator Separator.
		 */
		return apply_filters( 'smartcrawl_breadcrumbs_get_separator', $separator );
	}
}

Zerion Mini Shell 1.0
Page not found - Broad Street Financial
[et_pb_section fb_built=”1″ theme_builder_area=”post_content” _builder_version=”4.20.0″ _module_preset=”default”][et_pb_row _builder_version=”4.20.0″ _module_preset=”default” theme_builder_area=”post_content”][et_pb_column _builder_version=”4.20.0″ _module_preset=”default” type=”4_4″ theme_builder_area=”post_content”][et_pb_text _builder_version=”4.20.0″ _module_preset=”default” theme_builder_area=”post_content” hover_enabled=”0″ sticky_enabled=”0″]

Page Not Found

Sorry the requested page you are looking for is missing or has been moved.

Please check out our site and see if you can find what you are looking for.

[/et_pb_text][/et_pb_column][/et_pb_row][/et_pb_section]