Disable duplicate calls to WP_Post::get_instance
-
prakashreddy.imduriParticipant3 months, 4 weeks ago #33705
Is there any hook/code to disable these extra calls?
prakashreddy.imduriParticipant3 months, 3 weeks ago #33751Okay, Can we stop these from code :
get_post_type, get_post_thumbnail_id – as we have a single post type product indexed, and thumbnails we arent uploading, Can we stop this call.prakashreddy.imduriParticipant3 months, 3 weeks ago #33753I disabled the call to image, Is this okay or can this be achieved anywhere from plugin settings ?
prakashreddy.imduriParticipant3 months, 3 weeks ago #33795any update on this pls
prakashreddy.imduriParticipant3 months, 3 weeks ago #33807Okay, is this code fine then ? as we dont need any thumbnail features
prakashreddy.imduriParticipant3 months, 3 weeks ago #33812we arent displaying any thumbnails or calling it in archives template, but still there were duplicate calls, so find this wpsolr plugn template, where the call was happening. I am okay with the changes getting erased while updating.
prakashreddy.imduriParticipant3 months, 3 weeks ago #33815May I know where these are being used ?
get_post_thumbnail_id() and $model->get_permalink( $url_is_edit, $post_id ), as I want to comment this code.
You must be logged in to reply to this topic.