esc_html__('Enable', 'business-uncode'), 'disable' => esc_html__('Disable', 'business-uncode') ); return apply_filters('business_uncode_show_breadcrumb_option', $business_uncode_show_breadcrumb_option); } endif; /** * Reset Option * * * @param null * @return array $business_uncode_reset_option * */ if (!function_exists('business_uncode_reset_option')) : function business_uncode_reset_option() { $business_uncode_reset_option = array( 'do-not-reset' => esc_html__('Do Not Reset', 'business-uncode'), 'reset-all' => esc_html__('Reset All', 'business-uncode'), ); return apply_filters('business_uncode_reset_option', $business_uncode_reset_option); } endif; /** * Sanitize Multiple Category * ===================================== */ if ( !function_exists('business_uncode_sanitize_multiple_category') ) : function business_uncode_sanitize_multiple_category( $values ) { $multi_values = !is_array( $values ) ? explode( ',', $values ) : $values; return !empty( $multi_values ) ? array_map( 'sanitize_text_field', $multi_values ) : array(); } endif; /** * Slider options * @param null * @return array $business_uncode_slider_option * */ if (!function_exists('business_uncode_slider_option')) : function business_uncode_slider_option() { $business_uncode_slider_option = array( 'show' => esc_html__('Show', 'business-uncode'), 'hide' => esc_html__('Hide', 'business-uncode') ); return apply_filters('business_uncode_slider_option', $business_uncode_slider_option); } endif; /*==========================layout option ========================*/ if (!function_exists('business_uncode_sidebar_layout')) : function business_uncode_sidebar_layout() { $business_uncode_sidebar_layout = array( 'right-sidebar' => esc_html__('Right Sidebar', 'business-uncode'), 'left-sidebar' => esc_html__('Left Sidebar', 'business-uncode'), 'no-sidebar' => esc_html__('No Sidebar', 'business-uncode'), ); return apply_filters('business_uncode_sidebar_layout', $business_uncode_sidebar_layout); } endif; /** * Blog/Archive Description Option * * @since themesdivine Business 1.0.0 * * * * @param null * @return array $business_uncode_blog_excerpt * */ if (!function_exists('business_uncode_blog_excerpt')) : function business_uncode_blog_excerpt() { $business_uncode_blog_excerpt = array( 'excerpt' => esc_html__('Excerpt', 'business-uncode'), 'content' => esc_html__('Content', 'business-uncode'), ); return apply_filters('business_uncode_blog_excerpt', $business_uncode_blog_excerpt); } endif; /** * Show/Hide Feature Image options * * @since themesdivine Business 1.0.0 * * @param null * @return array $business_uncode_show_feature_image_option * */ if (!function_exists('business_uncode_show_feature_image_option')) : function business_uncode_show_feature_image_option() { $business_uncode_show_feature_image_option = array( 'show' => esc_html__('Show', 'business-uncode'), 'hide' => esc_html__('Hide', 'business-uncode') ); return apply_filters('business_uncode_show_feature_image_option', $business_uncode_show_feature_image_option); } endif;