Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Tools for site administration located in the `wp-admin` directory of a WordPress site.
1
vote
How to enable or disable check boxes in custom post type
look what is in $columns, you will see the column cb for "checkbox"
then you can do that :
function edit_first_column($columns) {
$arr = [
"cb" => $columns["cb"];
"new_title" = …
1
vote
Accepted
Navigation Menus Depth for specific menus
to know which menu is selected, you can do that in JavaScript
var selected_menu_id = $("#select-menu-to-edit option:selected").prop("value");
if ("56" === selected_menu_id) {
wpNavMe …
1
vote
Is there a filter to edit html of user-edit.php
instead of editing the complet content, it's quicker to find the hook to remove
e.g. for the "other role" menu, you can use that :
add_action("wp_loaded", function () {
remove_all_actions("edi …
0
votes
stop customize.php redirect to login page if admin is not logged in
to redirect all admin pages to home page when the user is not connected, try that
add_filter("login_url", function ($login_url, $redirect, $force_reauth) {
if (!is_user_logged_in()) {
$ …
0
votes
How to change menu icon which is overriden (i.e. by WooCommerce)
to add a custom image, you can use this code. the original image is set with CSS then you have to add custom CSS to remove that.
add_action("admin_menu", function () {
foreach ($GLOBALS["menu"] …