Plugin Directory

Changeset 2412774


Ignore:
Timestamp:
11/04/2020 08:27:06 PM (5 years ago)
Author:
overflowcafe
Message:

updated readme, updated main php file

Location:
potentially/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • potentially/trunk/potentially.php

    r2412049 r2412774  
    22/**
    33 * Plugin Name: Potentially
     4 * Plugin URI: https://overflowcafe.com
    45 * Description: How many new paying customers can you gain this month?
    56 * Author: Overflow Cafe
    6  * Author URI:  https://overflowcafe.com
     7 * Author URI: https://overflowcafe.com
    78 * Version: 1.0.0
    89 */
     
    2324new Oc_Potentially_Dashboard_Widget();
    2425
    25 // Load styles.
    26 wp_register_style('oc-potentially.css', plugin_dir_url(__FILE__) . 'styles/oc-potentially.css');
    27 wp_enqueue_style('oc-potentially.css');
    28 wp_register_style('oc-potentially-dashboard-widget.css', plugin_dir_url(__FILE__) . 'styles/oc-potentially-dashboard-widget.css');
    29 wp_enqueue_style('oc-potentially-dashboard-widget.css');
     26function oc_potentially_admin_enqueue_scripts_hook() {
     27    wp_register_style('oc-potentially', plugins_url('styles/oc-potentially.css', __FILE__));
     28    wp_enqueue_style('oc-potentially');
     29    wp_register_style('oc-potentially-dashboard-widget', plugins_url('styles/oc-potentially-dashboard-widget.css', __FILE__));
     30    wp_enqueue_style('oc-potentially-dashboard-widget');
     31}
     32
     33add_action('admin_enqueue_scripts', 'oc_potentially_admin_enqueue_scripts_hook');
  • potentially/trunk/readme.txt

    r2412074 r2412774  
    77Tested up to: 5.5.3
    88Stable tag: 1.0
    9 Requires PHP: 7.3
     9Requires PHP: 5.6.20
    1010
    1111Shows how many paying customers your website can get. Then we help you get them.
Note: See TracChangeset for help on using the changeset viewer.