We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 49f4a04 + a9e4341 commit 311f9cfCopy full SHA for 311f9cf
CPTP/Util.php
@@ -57,8 +57,8 @@ private static function is_rewrite_supported_by( $post_type ) {
57
*
58
* @param bool $support support CPTP.
59
*/
60
- $support = apply_filters( "CPTP_is_rewrite_supported_by_${post_type}", $support );
61
- $support = apply_filters( "cptp_is_rewrite_supported_by_${post_type}", $support );
+ $support = apply_filters( "CPTP_is_rewrite_supported_by_{$post_type}", $support );
+ $support = apply_filters( "cptp_is_rewrite_supported_by_{$post_type}", $support );
62
63
/**
64
* Filters support CPTP for custom post type.
0 commit comments