I started to really sit down and learn PHP about a week ago, so I’m a tad new at this. Anyways I’m trying to figure out how I can make my WordPress plugin interact with posts & pages.
Essentially I am defining a keyword & then making that keyword a hyperlink. I know there are other plugins out there that already do this, but I’m not sure how they actually get the content from the PHP file to edit the posts & pages.
Any help on how to do this would be much appreciated, thanks!
You need to identify what WP hook you need, depending on what you want to do and when you want to do it. Then attach a function that does what you need.