Created
June 13, 2025 06:00
-
-
Save xlplugins/01b5a96a868604f379d59beb87b11857 to your computer and use it in GitHub Desktop.
Enable cart on optin pages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'fkcart_disabled_post_types', function ( $post_types ) { | |
$post_types=array_filter( $post_types, function ( $i ) { | |
return $i != 'wffn_optin'; | |
} ); | |
return $post_types; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment