ssh-keygen -t rsa -b 4096 (After running commang jsut press enter continously to get they keys)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Hook Scanner Pro | |
Description: Scans plugin folders for WordPress PHP and JS hook usage and displays file, line, arguments, and example usage. | |
Version: 0.3 | |
Author: ChatGPT | |
*/ | |
if (isset($_GET['instrument']) && $_GET['instrument'] === 'scan') { | |
add_action('init', 'scan_plugin_for_hooks'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Afrikaans", | |
"Arabic", | |
"Bengali", | |
"Bulgarian", | |
"Catalan", | |
"Cantonese", | |
"Croatian", | |
"Czech", | |
"Danish", | |
"Dutch", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This script listens for a successful form submission event from JetFormBuilder. | |
// When the form is successfully submitted, it waits for 2 seconds, logs a message, | |
// closes the popup, and refreshes the listing grids on the page. | |
jQuery(document).ready(function ($) { | |
$(document).on("jet-form-builder/ajax/on-success", function () { | |
setTimeout(function () { | |
console.log("Form Submitted Successfully"); | |
$(".jet-popup__close-button").trigger("click"); | |
refreshListingGrids(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// PROBLEM /// | |
// Listing grid of a CPT. | |
// Each row has an EDIT button. | |
// The button opens a JetPopup with a form inside. | |
// After editing the fields, I cannot configure a REDIRECT action in the form, as it refreshes the page and the listing returns to the first page. | |
// If the edit occurred on page 10, it's a hassle to have to return to the page where you were before EDITING every time. | |
// 👉 Place inside an HTML widget on the page where the popup will open. | |
jQuery(document).ready(function ($) { | |
$(window).on("jet-popup/render-content/ajax/success", function (event, params) { | |
$(document).on("jet-form-builder/ajax/on-success", function () { |
If you don't want to pay for the PRO version of this plugin, and you want to use the "Restore from Server" functionally that was present in the version 6.77, follow the instructions below:
- Open the js file: wp-content/plugins/all-in-one-wp-migration/lib/view/assets/javascript/backups.min.js
- On line 1208, replace the code below:
$('.ai1wm-backup-restore').click(function (e) {