This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programmieren:wordpress:klassische_metabox_fuer_posts_erstellen [2023/06/14 19:26] – jgehrke | programmieren:wordpress:klassische_metabox_fuer_posts_erstellen [2023/06/15 08:42] (current) – jgehrke | ||
---|---|---|---|
Line 4: | Line 4: | ||
<code php> | <code php> | ||
- | /* | + | <?php |
- | METABOX EINKLINGEN | + | /* |
- | */ | + | |
new MetaboxPost(); | new MetaboxPost(); | ||
Line 23: | Line 22: | ||
public function add_metabox() | public function add_metabox() | ||
{ | { | ||
- | $mb_id | + | $mb_id |
- | $mb_title | + | $mb_title |
$mb_callback | $mb_callback | ||
$mb_screens | $mb_screens |