How to add security in WordPress site via php?

I am usng wordpress in my site but I phpam confuse with wordpress. so anyone know any php code which can be make more strong for my website ?

1 Like

Hi talentiptv welcome to the forum

Security is a field in itself that has quite a learning curve.
When you say “via PHP” you will be missing a lot of what should be done if that’s all you use. But I imagine some is better than none.

Anyway, I recommend you read

https://codex.wordpress.org/Hardening_WordPress

and do as many of those as you can understand.

1 Like

there are plugins avaliable to do that. simply search on wordpress plugins area in admin panel

1 Like

Oops I found the same link too, all the best they have a lot of information.

1 Like