sprintf( esc_html__( 'Footer %d', 'blogger-era-plus' ), absint( $i ) ), 'id' => 'footer-'.absint( $i ), 'before_widget' => '', 'before_title' => '

', 'after_title' => '

', ) ); } } add_action( 'widgets_init', 'blogger_era_plus_widgets_init' ); function blogger_era_plus_remove_footer() { remove_action( 'blogger_era_action_footer', 'blogger_era_footer_menu', 15 ); } add_action( 'init' , 'blogger_era_plus_remove_footer' ); if ( ! function_exists( 'blogger_era_footer_widget' ) ) : /** * Footer Menu * @since 1.0.0 */ function blogger_era_footer_widget() { if ( is_active_sidebar( 'footer-1' ) || is_active_sidebar( 'footer-2' ) || is_active_sidebar( 'footer-3' ) || is_active_sidebar( 'footer-4' ) ) : ?>