GeneratePress: Edit Footer Credits via Child Theme Functions

PROBLEM

Edit footer credits using child theme function (filter) for WordPress (free) GeneratePress theme.

SOLUTION
				
					/** * Edit Footer credits */

function fwuk_change_footer_credits ($copyright) {
	$copyright = sprintf(
		'<span class="copyright">&copy; %1$s %2$s</span> &bull; <a href="%3$s" itemprop="url">%4$s</a><br/><small><a href="%5$s" itemprop="url" target="_blank">%6$s</a></small>',
		date('Y'),
		get_bloginfo('name'),
		esc_url('https://freelanceworks.co.uk/privacy-policy/'),
		__('Privacy Policy','generatepress'),
		esc_url('https://wordpress.org'),
		__('Powered by WordPress','generatepress')
	);
	return $copyright;
}
add_filter ( 'generate_copyright' , 'fwuk_change_footer_credits', 10, 1 );

				
			
CF7 FORM

    ELEMENTOR PRO FORM