WordPress.org

Plugin Directory

Changeset 702246


Ignore:
Timestamp:
04/23/13 13:37:54 (4 years ago)
Author:
crivion
Message:

Documentation Tested and works now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-paymobile-content-locker/trunk/WP-PayMobile.php

    r702238 r702246  
    217217         add_menu_page('WP PayMobile', 'WP PayMobile', 'add_users', 'WP_PayMobile',  array($this, 'options_page'), plugins_url('wp-paymobile-content-locker/assets/lock.png')); 
    218218         add_submenu_page( 'WP_PayMobile', 'WP PayMobile Stats', 'Statistics', 'add_users', 'WP_PayMobile_Stats', array($this, 'statistics_page')); 
    219          add_submenu_page( 'WP_PayMobile', 'WP PayMobile Install Guide', 'Install Guide', 'add_users', 'WP_PayMobile_Install', array($this, 'install_page')); 
    220     } 
    221  
    222     public function install_page() { 
    223         echo file_get_contents(plugins_url( 'documentation.html', __FILE__)); 
     219         add_submenu_page( 'WP_PayMobile', 'WP PayMobile Install Guide', 'Install Guide', 'add_users', 'WP_PayMobile_Install', array($this, 'installation_page')); 
     220    } 
     221 
     222    public function installation_page() { 
     223        #echo file_get_contents(plugins_url( 'documentation.html', __FILE__)); 
     224        //var_dump(plugins_url( 'documentation.html', __FILE__)); 
     225        echo "YYYYY"; 
     226         
    224227    } 
    225228 
Note: See TracChangeset for help on using the changeset viewer.