This function will give you the ids of blocked users
get_user_meta( $user_id, '_block', true );
here $user_id
is yours
Related Posts:
- Can’t add classes using jQuery from a JSON string with get_body_class()
- WordPress Insert not working with ajax
- Can user meta be shown or hidden depending on user logged in status?
- Orderby post__in Not Working Correctly?
- How to send json data to jquery
- How can get all users by current user meta (array)?
- Is not using admin-ajax to ajax submissions okay?
- how to remove/exclude html coding from json file while export?
- Dynamically populate Cascading Dropdown from MySQL using JQuery/AJAX [closed]
- My javascript is returning this error: $.ajax is not a function
- Bootstrap – Uncaught TypeError: Cannot read property ‘fn’ of undefined
- Invalid or unexpected token on a very simple function
- How to get a cross-origin resource sharing (CORS) post request working
- Adding a page loader using jQuery
- jquery – return value using ajax result on success
- onclick event pass
- id or value
- Can you detect “dragging” in jQuery?
- Twitter Bootstrap Modal Form Submit
- ajax stopped working when not logged in?
- How to overwrite a JavaScript core function?
- Automatically decrease font size for long words
- Custom function to rearrange attachments when creating posts – Almost there
- jQuery and AJAX Not working with Select Form Element
- Horizontal scroller with post_thumbnail’s
- Force wp_enqueue_scripts to the HEADER?
- WordPress and jQuery [closed]
- Any good lightbox-like option that works in WP 3.2.1?
- How to fetch serialized data from wordpress options
- $wp_customize customizer_preview_init not firing inside javascript
- Disable collapse of admin meta boxes
- jQuery code not firing on page despite registering and enqueuing scripts
- Ajax pagination works only first and third time
- How to properly add Bootstrap and JQuery Javascripts?
- WordPress Jquery Fade in, Fade out effect
- Multiple User-Meta Values in One User-Meta Key
- How to use Bootstrap with WP’s jQuery? [closed]
- Add user data to table when user is created?
- Is there a restriction in WP on the use of jQuery load function?
- Gutenberg Filtering Metaboxes by Post Format
- WordPress site in China times out on requests to youtube [closed]
- No data received
- show element on page load from external url only [closed]
- CodeMirror on Custom Widget Textarea
- Sending click events to Google Analytics in WordPress: the easy way
- Accordion scrolls page too low after clicking on the title [closed]
- Exclude some scripts from removing unique scripts from head function
- Passing jQuery into the WordPress media uploader
- jQuery undefined function error with WP jQuery, but works with Google CDN
- Custom order for Mysql array
- Dropdown filtering extremely slow
- Fall Back Google CDN in JavaScript
- wp_enqueue doesn’t work
- filterable portfolio with wordpress and jquery
- Gutenberg – Title field required
- Trouble enqueueing jquery with custom theme
- WP-admin redirects to login after adding SSL certificate
- Dynamicaly update field created with wp_editor()
- add custom HTML css with js doesn’t work
- Change quantity via jQuery and disabile quantity field [closed]
- Get value of selected option in select field in a WordPress form
- How to retrieve WP_Object that is inside an array of another array
- jQuery – Toggle megamenu submenu items by click
- General Settings: display custom plugin field after Site Address field
- WP Customizer: Save a control state
- WP AJAX API with JS file
- need to override function in jquery.ui.datepicker.js
- Dynamic WordPress editor in meta box
- Getting jQuery AJAX to work in WordPress (getting -1)
- How to modify iFrame content in an admin thickbox
- How to wrap posts into divs?
- jQuery Drill Down iPod Menu FOUC and Selecting Current page
- Absolute path to stylesheet_dir/images/my_img.jpg does not work?
- MySQL Query Returns Array () In Shortcode
- jquery.min has very long TTFB
- animate.style on wp-login.php
- Form validation before submitting
- bundled jquery in theme js not working with wp_localize_script
- Special Characters and Spaces are not transferred correctly via AJAX call.
- How to toggle custom WP archive list
- I can’t enqueue Suggest.js in frontend – not added
- Jquery code won’t run loaded from WP, but run from console
- Need help getting a certain value out of a multi dimensional array
- JQuery is not defined but jquery script is loaded in source [closed]
- owl carousel not working after ajax load [duplicate]
- jQuery post method in admin menu
- jquery not working correctly in plugin options page?
- jQuery AJAX add json2 dependency?
- Running javascript in a child theme. Works in jsfiddle
- How to block action if post is “dirty”?
- $ not defined using jQuery in WordPress
- How to read the contents of single post through RSS feed
- Updating wordpress user meta data array (unexpected multiple arrays)
- jQuery Ajax / Modal admin event not firing since 3.6. Seems to not recognize “a” tag
- Auto Select Child categories on Multiple Dropdown – Jquery
- WordPress video end function [duplicate]
- jQuery Live Form Validation in WordPress
- bootstrap-slider.js by seiyria not working in wordpress
- Sliders with buttons [closed]
- Elementor form – checkboxes validation
- How to add input file plain text and submit to publish?