Home › Forums › Pro Support › Disable title links on certain pages › Reply To: Disable title links on certain pages
September 3, 2020 at 2:21 pm
#18927
Keymaster
Hi there,
Absolutely, try this:
add_filter( 'wpsp_disable_image_link', function( $disable, $settings ) {
if ( 123 === $settings['list_id'] ) {
$disable = true;
}
return $disable;
}, 10, 2 );
Just update 123
to the ID of the list you’re targeting.