Skip to main content
9 events
when toggle format what by license comment
Oct 6, 2011 at 20:39 vote accept JVC
Oct 6, 2011 at 13:26 comment added t31os What are you doing on init ? The wp action(where you conditional logic is) occurs after init, so do you have anything happening before that action? You should be fine if you're adding actions/filters at that point as you can simply unhook/unregister them.. but you need to give more substance to your question. What you're asking is entirely possible, but without more details about what you're doing it's hard to provide a specific example..(a general one could be given but it may not address your use case).
Oct 5, 2011 at 2:28 comment added JVC Umm, how can you tell me that what I want doesn't make any sense? It makes perfect sense. Your failure to understand is no reflection on what I want to accomplish. If you don't understand what I'm asking, either request further clarification or move on to another question.
Oct 5, 2011 at 0:53 comment added onetrickpony It doesn't make any sense what you want. Remove the plugin hooks instead
Oct 4, 2011 at 23:51 history edited JVC CC BY-SA 3.0
error in code
Oct 4, 2011 at 23:50 answer added chrisguitarguy timeline score: 0
Oct 4, 2011 at 23:49 comment added JVC It has many different hooks as it does lots of different things. It has hooks that run at init, and others at wp, the_content, the_title, etc. Bottom line is I need to be able to bail out as early as possible (during wp I'm guessing?). And I can already do so, but like I said it just returns to the rest of the plugin and continues to execute rather than bailing out of my code.
Oct 4, 2011 at 23:45 comment added chrisguitarguy It would help if you described what else your plugin does. Eg. where else is it hooking in.
Oct 4, 2011 at 23:21 history asked JVC CC BY-SA 3.0