Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Selectively disable title link Reply To: Selectively disable title link

#5031
Tom
Keymaster

Try this:

add_filter( 'wpsp_disable_image_link', 'tu_disable_links', 10, 2 );
add_filter( 'wpsp_disable_title_link', 'tu_disable_links', 10, 2 );
function tu_disable_links( $output, $settings ) {
    if ( 177 === $settings['list_id'] ) {
        return true;
    }

    return $output;
}