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; }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |