PHP Controller - 4 (creating php hooks)

Hi @tbirnseth what if I want to override a function name get_product_feature_variants, cause I want to modify its query , right now what i do is

on init.php
array(‘get_product_feature_variants’, 200),

on func.php
function fn_product_modification_get_product_feature_variants($params, $items_per_page = 0, $lang_code = CART_LANGUAGE){
and I modified the query here…
}

and I got This page isn’t working, this is my problem thread related to your topic Override Function - #2 by ecomlabs