PHP Classes

File: config/assets.php

Recommend this page to a friend!
  Classes of Josantonius   wp-plugin-rating   config/assets.php   Download  
File: config/assets.php
Role: Example script
Content type: text/plain
Description: Example script
Class: wp-plugin-rating
Show ratings of WordPress plugins
Author: By
Last change:
Date: 6 years ago
Size: 792 bytes
 

Contents

Class file image Download
<?php
/**
 * WP Plugin Rating · Show plugin rating in WordPress administration pages.
 *
 * @author Josantonius <hello@josantonius.com>
 * @package eliasis-framework\wp-plugin-rating
 * @copyright 2017 - 2018 (c) Josantonius - WP Plugin Rating
 * @license https://opensource.org/licenses/MIT - The MIT License (MIT)
 * @link https://github.com/eliasis-framework/wp-plugin-rating.git
 * @since 1.0.0
 */

use Eliasis\Complement\Type\Component;

$css = Component::WP_Plugin_Rating()->getOption( 'url', 'css' );

return [
   
'assets' => [
       
'css' => [
           
'WP_Plugin_Rating' => [
               
'name' => 'WP_Plugin_Rating',
               
'url' => $css . 'wp-plugin-rating.min.css',
               
'place' => 'admin',
               
'deps' => [],
               
'version' => '1.0.1',
               
'media' => '',
            ],
        ],
    ],
];