How to include custom PHP functions?
-
Super plugin, thanks! Just wondering how we can use Ad Inserter to add custom PHP functions? For example, we would like to remove the code that is inserted by Rank Math plugin
<!-- Search Engine Optimization by Rank Math - https://s.rankmath.com/home -->and the recommended code to do so by RankMath is:
/** * Filter to remove the plugin credit notice added to the source. * */ add_filter( 'rank_math/frontend/remove_credit_notice', '__return_true' );Can Ad Inserter handle such types of custom PHP functions and if so how do we implement it? We would like to use this plugin to add custom PHP functions rather than adding another plugin like CodeSnippets (https://ww.wp.xz.cn/plugins/code-snippets/) to do so.
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘How to include custom PHP functions?’ is closed to new replies.