What is the filter hook for custom fields content?

Since custom fields are kept in the meta table, you can proabably just remove this line:

 $c = str_replace('%points%',cp_formatPoints(get_post_meta($post->ID,'cp_pcontent_points', 1)),$c);

Alternatively, you can use a boolean as a parameter to not run this line of code.

HTH

Leave a Comment