woocommerce_display_admin_footer_text

woocommerce_display_admin_footer_text

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_display_admin_footer_text') is found 1 times:

  • /includes/admin/class-wc-admin.php line 247
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    // Set only WC pages.
    $wc_pages = array_diff( $wc_pages, array( 'profile', 'user-edit' ) );
     
    // Check to make sure we're on a WooCommerce admin page.
    if ( isset( $current_screen->id ) && apply_filters( 'woocommerce_display_admin_footer_text', in_array( $current_screen->id, $wc_pages, true ) ) ) {
        // Change the footer text.
        if ( ! get_option( 'woocommerce_admin_footer_text_rated' ) ) {
            $footer_text = sprintf(
                /* translators: 1: WooCommerce 2:: five stars */
                __( 'If you like %1$s please leave us a %2$s rating. A huge thanks in advance!', 'woocommerce' ),
                sprintf( '<strong>%s</strong>', esc_html__( 'WooCommerce', 'woocommerce' ) ),