1. Go to this page and download the library: Download undefinedfr/linky library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
undefinedfr / linky example snippets
function on_linky_after_construct() {
// Do something
}
add_action( 'linky_after_construct', 'on_linky_after_construct', 10, 1 );
function on_linky_install() {
// Do something
}
add_action( 'linky_install', 'on_linky_install', 10, 1 );
function on_linky_uninstall() {
// Do something
}
add_action( 'linky_uninstall', 'on_linky_uninstall', 10, 1 );
function on_linky_before_admin_enqueue() {
// Do something
}
add_action( 'linky_before_admin_enqueue', 'on_linky_before_admin_enqueue', 10, 1 );
function on_linky_after_admin_enqueue() {
// Do something
}
add_action( 'linky_after_admin_enqueue', 'on_linky_after_admin_enqueue', 10, 1 );
function on_linky_before_enqueue() {
// Do something
}
add_action( 'linky_before_enqueue', 'on_linky_before_enqueue', 10, 1 );
function on_linky_after_enqueue() {
// Do something
}
add_action( 'linky_after_enqueue', 'on_linky_after_enqueue', 10, 1 );