PHP code example of a7 / admin-notices

1. Go to this page and download the library: Download a7/admin-notices 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/ */

    

a7 / admin-notices example snippets


add_admin_notice( 'This is an admin notice.' );

add_admin_notice( 'This is a successful notice.', 'success' );