Plugin Directory

Changeset 1286754


Ignore:
Timestamp:
11/15/2015 09:18:01 PM (10 years ago)
Author:
dileep1984
Message:

Added cron job feature

Location:
wp-rss-importer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wp-rss-importer/trunk/admin/templates/edit-rss.php

    r1091763 r1286754  
    1919                <div class="postbox">
    2020                    <h3><span><?php _e( 'RSS details', 'logics' ); ?></span></h3>
     21                    <h3 style="background: #CCC; text-align: center;">Cron Job URL: <?php echo admin_url( 'admin-ajax.php?action=runcron&id=' . $rss_id );  ?></h3>
    2122                    <div class="inside">
    2223                        <p>
  • wp-rss-importer/trunk/readme.txt

    r1091763 r1286754  
    44Tags: post,rss,custom post type
    55Requires at least: 3.0.1
    6 Tested up to: 4.1
    7 Stable tag: 9.0
     6Tested up to: 4.3.1
     7Stable tag: 2.0.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3131No. It will check existing record and if found then no insert new.
    3232
     33= Can it us in cron job ? =
     34Yes. In edit mode cron job URL is appearing on top. This URL can be use as cron job
     35
    3336== Screenshots ==
    3437
     
    3841== Changelog ==
    3942= 1.0 =
     43= 2.0 =
     44Added cron job url in edit mode.
    4045
    4146== Upgrade Notice ==
  • wp-rss-importer/trunk/wp-rss-importer.php

    r1286742 r1286754  
    66Author: Dileep Awasthi
    77Author URI: http://logicsart.com/
    8 Version: 1.0.0
     8Version: 2.0.0
    99License: GPLv3
    1010
     
    2323                require_once( LOGICS_PLUGIN_DIR . 'admin/class-admin.php' );
    2424            }
     25            add_action('wp_ajax_runcron', array($this,'runcron_callback'));
     26            add_action('wp_ajax_nopriv_runcron', array($this,'runcron_callback'));
    2527        }
    2628        function logics_taxget_action_callback() {
Note: See TracChangeset for help on using the changeset viewer.