Skip to content

Commit

Permalink
[#124] Removing old icons
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-schmidt-viget committed Jul 26, 2024
1 parent acc3639 commit 1d9801f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 20 deletions.
8 changes: 5 additions & 3 deletions wp-content/themes/wp-starter/inc/icons.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

/**
* Add custom icons to the button icons array.
* */
* Place your custom icon(s) in the `src/images/icons` directory.
* Then add the icon(s) to the array, the key and label should be unique for each icon.
*/

add_filter(
'acfbt_button_icons',
Expand All @@ -16,8 +18,8 @@ function ( array $icons ): array {

/* Custom Icons */
/*
$icons['short-arrow-right'] = [
'label' => __( 'YOUR LABEL', 'wp-starter' ),
$icons['your-custom-icon'] = [
'label' => __( 'your custom icon', 'wp-starter' ),
'icon' => file_get_contents( $icon_path . 'file-name.svg' ),
'defaultLeft' => false,
];*/
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 1d9801f

Please sign in to comment.