admin管理员组

文章数量:1191748

I am new to Wordpress and want to make some changes in the content of a plugin page. I have found out that the same can be done using

add_filter

I have the filter value for the plugin content that I want to change. I am using the storefront theme. So I open the storefront_functions.php , but I am not sure where to add the code snippet.

Seeking guidance/suggestions regarding the same.

Thanks

I am new to Wordpress and want to make some changes in the content of a plugin page. I have found out that the same can be done using

add_filter

I have the filter value for the plugin content that I want to change. I am using the storefront theme. So I open the storefront_functions.php , but I am not sure where to add the code snippet.

Seeking guidance/suggestions regarding the same.

Thanks

Share Improve this question edited Oct 27, 2018 at 14:58 fuxia 107k38 gold badges255 silver badges459 bronze badges asked Oct 27, 2018 at 14:37 anandanand 112 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

Every New function you should add to the bottom. Same with JavaScript, JQuery, CSS and any other language. Same as you would write in a book.

本文标签: filtersWhere to addfilter in theme functionsphp