Open External link to a new tab

This code snippet enhances a WordPress website by automatically opening external links in new tabs. When…

Hem

Octodesigns.se Octodesigns.se Hem Produkter Galleri Kontakta mig © 2024 Octodesigns.se All rights reserved. Hem Produkter Galleri…

Add the fields to the user edit screen

// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…

om-reactv4.js

// Using React Router V4 import React from "react"; import { withRouter } from "react-router"; class…

aa

add_action('admin_notices', function () { if (!current_user_can('manage_options')) { return; } echo 'WPCode test is working.'; echo 'Application…

Maintain+ Footer Credit

jQuery("footer").append(" Site managed by Maintain+ ")

MemberPress: Generate All Invoices

If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…

Limit user posts

A settings page to set the number of posts all users can create

<10

Remove Manage Sites

Removes the Manage Sites column from the licenses table on the customer purchase history page

Completely Disable Comments

add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…

<10

Allow JS Files Upload

Allowing to upload JS files into media folder for custom special integration such as booking search…

1 29 30 31 32 33 123