PHP code example of cnp / wp-add-favicon
1. Go to this page and download the library: Download cnp/wp-add-favicon library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cnp / wp-add-favicon example snippets
$args = array(
'host.dev' => array(
'public' => '[FAVICON URL]',
'admin' => '[FAVICON URL]'
),
'another.host.dev' => array(
'public' => '[FAVICON URL]',
'admin' => '[FAVICON URL]'
),
'onemore.host.dev' => array(
'public' => '[FAVICON URL]',
'admin' => '[FAVICON URL]'
)
);
'*' = array(
'public' => '/img/icons/favicon.ico',
'admin' => '/img/icons/admin-favicon.ico'
);