Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'init', 'theme_review_init' );
- function theme_review_init(){
- /**
- * Claim support for the "Affiliate Product Reviews" plugin
- * 'ri' claims support for the plugin
- * the second parameter explains, whether the plugin is using regular posts ('post') for the reviews
- * or wants a CPT ('ri') to be registered by the plugin to use.
- **/
- add_theme_support( 'ri', 'post' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement