I am not sure about puting such method and basic class. In case it is required here be more verbose with function name get_footer_button_element