Filters whether Likes should be enabled on single posts. The dynamic part of the filter, {$post_type}, allows you to specific the post type where Likes should be enabled.
Parameters
- .
- ( likes ) . .
- .
- ( 2.2.0 ) . .
- $enabled
- ( bool ) Are Post Likes enabled on single posts? . . .