Хуки

Список доступных хуков:

add_filter( 'expert_review:expert_name', function ( $output, array $atts ) {} );
add_filter( 'expert_review:expert_description', function ( $output, array $atts ) {} );
add_filter( 'expert_review:expert_avatar', function ( $output, array $atts ) {} );
add_filter( 'expert_review:expert_link', function ( $output, array $atts ) {} );
add_filter( 'expert_review_before', function ( $output, array $atts ) {} );
add_filter( 'expert_review_after', function ( $output, array $atts ) {} );
add_filter( 'expert_review:before_expert', function ( $output, array $atts ) {} );
add_filter( 'expert_review:after_expert', function ( $output, array $atts ) {} );
add_filter( 'expert_review:before_qa', function ( $output, array $atts ) {} );
add_filter( 'expert_review:after_qa', function ( $output, array $atts ) {} );
add_filter( 'expert_review_qa:question', function ( $output, array $atts ) {} );
add_filter( 'expert_review_qa:answer', function ( $output, array $atts ) {} );
add_filter( 'expert_review:before_score', function ( $output, array $atts ) {} );
add_filter( 'expert_review:after_score', function ( $output, array $atts ) {} );
add_filter( 'expert_review:before_plus_minus', function ( $output, array $atts ) {} );
add_filter( 'expert_review:after_plus_minus', function ( $output, array $atts ) {} );

add_filter( 'expert_review_likes_before', function ( $output, array $atts ) {} );
add_filter( 'expert_review_likes_after', function ( $output, array $atts ) {} );

add_filter( 'expert_review_like_rate_before', function ( $output, array $atts ) {} );
add_filter( 'expert_review_like_rate_after', function ( $output, array $atts ) {} );

add_filter( 'expert_review_comment_likes', function ( $content, WP_Comment $comment, $args ) {} );

add_filter( 'expert_review:submit_question', function ( $do_submit ) {} );

add_filter( 'expert_review_faq:wrap_header', function ( $title, array $atts ) {} );
add_filter( 'expert_review_faq:question', function ( $q, array $atts ) {} );
add_filter( 'expert_review_faq:answer', function ( $a, array $atts ) {} );
WPShop Docs