how to customize rss feed tags using hooks?

Removing the tag altogether would be inconvenient since it’s hardcoded in feed-rss2.php template file. You could replace the calling function in do_feed_rss2 hook, but still would need to fork whole template. It is, however, easy to cancel out content there. get_post_comments_feed_link() passes output through the filter, so something like this should do it (not tested): … Read more

Filtering Comment Reply Links (comment_reply_link_args) for “infinite replies” in nested comments

Here’s my solution. It relies on removing the original comment link and recreating it by appending it to the comment itself: https://www.webhostinghero.com/adding-infinite-replies-in-wordpress/ The only caveat is to make sure that wp_list_comments has been called with the default style argument. If it’s not, then that element needs to be changed as explained in my article. Most … Read more

Plugin options, presets and filters : can you help me improve my workflow?

You hadn’t included how had you arrived at this concept, but the whole “presets” branch of logic is pretty strange. Post-filtering vs pre-filtering WordPress filters are de-facto centered on filtering results. Your my_plugin_get_options filter follows that model — the results are produced and offered for modification. Sometimes that is undesirable, what if we do all … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)