Need help with checkbox “options”
-
Hi, guys…
fiew days ago I found that there is an awesome option in wordpress get_option(‘sticky’) and now I want to change on an plugin that one with others checkboxes that already have on every post.
example: I have an post sticky and when I get this code somewere it will get the sticky posts… and I want to add if there will be an other checkbox checked (like “Bonus” with id=”bonus”) and this post… without to be featured (sticky).now I have this code to imagine how is it:
$aarl = get_option('sticky'); $result_aarl = array_intersect($aarl, $post_ID);
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Need help with checkbox “options”’ is closed to new replies.