Anything About Wordpress,  Debugging & Installations

How to remove wordpress footer credit?

/* Enter your custom functions here */
add_action( 'init', 'custom_remove_footer_credit', 10);

function custom_remove_footer_credit (){
    remove_action('storefront_footer', 'storefront_credit', 20);
    add_action('storefront_footer', 'custom_storefront_credit', 20);
}

function custom_storefront_credit(){
    ?>
¬© Sample Footer¬† <? echo get_the_date(‘Y’);?>

    <?php
}

Leave a Reply

Your email address will not be published. Required fields are marked *