This repository has been archived by the owner on Apr 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aldolat-twitter.php
72 lines (66 loc) · 2.11 KB
/
aldolat-twitter.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?php
/**
* The plugin bootstrap file
*
* This file is read by WordPress to generate the plugin information in the plugin
* admin area. This file also includes all of the dependencies used by the plugin,
* registers the activation and deactivation functions, and defines a function
* that starts the plugin.
*
* @link https://dev.aldolat.it/projects/aldolat-twitter/
* @since 0.0.1
* @package AldolatTwitter
* @license GPLv3 or later
*
* @wordpress-plugin
* Plugin Name: Aldolat Twitter
* Description: Display your Tweets in a widget.
* Plugin URI: https://dev.aldolat.it/projects/aldolat-twitter/
* Author: Aldo Latino
* Author URI: https://www.aldolat.it/
* Version: 0.6.2
* License: GPLv3 or later
* Text Domain: aldolat-twitter
* Domain Path: /languages/
*/
/*
* Copyright (C) 2020, 2021 Aldo Latino (email : [email protected])
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* TODO: Add option for getting tweets older or newer than a certain tweet.
* See: https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline
* TODO: Add option for displaying date and time.
*/
/**
* Prevent direct access to this file.
*
* @since 0.0.1
*/
if ( ! defined( 'WPINC' ) ) {
exit( 'No script kiddies please!' );
}
/**
* Run the class for setting up the plugin.
*/
function aldolat_twitter_run() {
require_once 'includes/class-aldolat-twitter.php';
$aldolat_twitter = new Aldolat_Twitter();
$aldolat_twitter->init();
}
aldolat_twitter_run();
/*
* CODE IS POETRY
*/