astra_get_small_footer( string $section = '' )

Function to get Small Left/Right Footer


Description


Parameters

$section

(string) (Optional) Sections of Small Footer.

Default value: ''


Return

(mixed) Markup of sections.


Source

File: inc/markup-extras.php

	function astra_get_small_footer( $section = '' ) {

		$small_footer_type = astra_get_option( $section );
		$output            = null;

		switch ( $small_footer_type ) {
			case 'menu':
					$output = astra_get_small_footer_menu();
				break;

			case 'custom':
					$output = astra_get_small_footer_custom_text( $section . '-credit' );
				break;

			case 'widget':
					$output = astra_get_custom_widget( $section );
				break;
		}

		return $output;
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.