Plugin Directory

Changeset 3116085

Timestamp:
07/11/2024 06:49:37 AM (4 weeks ago)
Author:
maxpertici
Message:

MITYPES / update read me 1.5

Location:
menu-item-types
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • menu-item-types/tags/1.5/readme.txt

    r3115913 r3116085  
    2626    $args = array(
    2727        'slug'        => "my-custom-type",
    28         'icon'        => 'https//url-to-icon-file..svg',
     28        'icon'        => 'https.svg',
    2929        'label'       => __( 'My Custom Type', 'my-custom-type' ),
    3030        'field-group' => 'path/to/acf/field-group-array.php',
    3131        'render'      => 'path/to/render/my-custom-render.php',
    3232        'callback'    => function(){
    33             // add filter on 'mitypes_nav_menu_link_attributes' if you need it
     33            // Use callback for customize your item
     34            // youcan add filter on 'mitypes_nav_menu_link_attributes' if you need
    3435        }
    3536    );
  • menu-item-types/trunk/readme.txt

    r3115912 r3116085  
    2626    $args = array(
    2727        'slug'        => "my-custom-type",
    28         'icon'        => 'https//url-to-icon-file..svg',
     28        'icon'        => 'https.svg',
    2929        'label'       => __( 'My Custom Type', 'my-custom-type' ),
    3030        'field-group' => 'path/to/acf/field-group-array.php',
    3131        'render'      => 'path/to/render/my-custom-render.php',
    3232        'callback'    => function(){
    33             // add filter on 'mitypes_nav_menu_link_attributes' if you need it
     33            // Use callback for customize your item
     34            // youcan add filter on 'mitypes_nav_menu_link_attributes' if you need
    3435        }
    3536    );
Note: See TracChangeset for help on using the changeset viewer.