|
/ Documentation /Developers/ How to Change the Credit Link Text?

How to Change the Credit Link Text?

Description

The cppro_credit_text filter allows to Update “Powered by Convert Pro” link when Credit Link setting is enabled on admin settings panel.

Usage

// Filter callback function
function example_callback( $content ) {
    //Process content here
    return $content;
}
add_filter( 'cppro_credit_text', 'example_callback', 10 );

Parameters

$content:
    (string) text to appear in credit link.

Example

/**
 * Update Credit link text to "Share with your friends"
 *
 * @param string $content Credit link text.
 * @return string
 */
function credit_link_text_callback( $content ) {
    $content = 'Share with your friends';
    return $content;
}
add_filter( 'cppro_credit_text', 'credit_link_text_callback', 10 );
NOTE: You can set credit link color in Panel section of popup settings.
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
%title %title
On this page

Compare Convert Pro with...

29439
29440
Scroll to Top