Never mind, find my error..
just need to assign to the function associate array according to the body structure.
sometime all u need is just to write things down:)
Related Posts:
- Getting following web services error after activating the Rewards Plugin
- Unexpected T_FUNCTION
- What should I use instead of WP_CONTENT_DIR and WP_PLUGIN_DIR?
- Methods of Integrating Plugin Data with Themes
- Getting a peer review for my new plugin?
- PHPUnit testing WordPress Plugin
- Using OOP plugin’s methods throughout the website
- Why does WordPress create two transients with the same name when I specify timeout value?
- How to Rewrite WordPress URL for a Plugin
- Is it possible to add an admin page using add_submenu_page() and pass a var in the query string?
- Managing two editable fields in gutenberg
- Proper way to use apply_filters() with class functions?
- In a plugin, why is add_action(‘init’) not executed before the plugin is activated?
- Determine which theme location a wp_get_nav_menu_items is for
- How to use wp_set_password in a plugin?
- How to init an addon correctly after the main plugin?
- Endpoint on Specific Page Slug
- How can I free up the memory used by update_post_meta?
- add javascript button to order place button
- Best practice for creating a custom archive template for a custom taxonomy which works on all themes?
- URL rewriting must be activated manually for my plugin
- Getting Details Of Uploaded Image
- how to activate plugin network-wide, and save setting across sites
- PHP logging framework to be used with WordPress
- What is difference between blog id and site id?
- How to Load Plugin JS in theme’s footer section
- Show dialog box in TinyMCE plugin and use WordPress php functions in it
- PHP 7 – Class Method Compatibility Issue
- Change reset password URL returned by wp_lostpassword_url() via plugin
- wp_transition_post_status does not change the status of the post
- Add notification bubble notice in navigation using transients
- How to print raw query from WP_Query class just like in CodeIgniter
- dbDelta() Error – Incorrect index name ” for query ALTER TABLE
- Custom plugin – $post_id in wp_head
- Is it safe to call do_action and apply_filters for built-in hooks?
- Creating a Link Text like Submit Button in Admin Page
- WooCommerce registration password field not displaying
- wordpress plugin php file processing form
- 403 Error when text is pasted in Custom Metabox Textarea
- How To Change Post Author Default?
- Editing options pages?
- is it recommended to use WP_List_Table?
- Multiple Plugin best practice in Multisite
- How to extend WooCommerce API to show bookable product availability rules?
- Enumerating shortcode attributes in JavaScript
- wp-cron and execution of code in is_admin() included script
- use of do_action() without any functions attached
- json_decode does not work on WordPress
- Delist entries in the_loop
- wordpress add_submenu_page adds broken link
- esc_html__() and __() not working within arrays
- Uploaded attachment not set as featured image
- WordPress – manually relate a post to page(s)?
- Styles don’t load correctly. Insecure content
- How to use apiFetch to get author information in Gutenberg properly?
- Gutenberg blocks error: Each child in a list should have a unique “key” prop
- Can we use a library under MIT license in a WooCommerce plugin?
- How to display the specific post content by using POST ID
- WP Dropdown Categories, display subcategories but not grandchildren categories?
- wpdb->get_var always returning 0
- A function that will remove HTML and tags from a string?
- $wpdb->prepare is not working like mysql_real_escape_string
- How can I change my assigned user role in WordPress 3.5.1?
- Enqueue ONLY Plugin Styles and Scripts
- Setting a post’s category
- Questions about meta box: nonce and parameters available
- Remove Products From Category
- Foreign wp_users ID in custom plugin DB table?
- Using WordPress with WP Statistics for QR code usage survey
- Integrating a Gutenberg custom block within a larger plugin
- How to do admin ajax request in a plugin for rest api
- Add default value from selection
- How can I create a wp plugin with this code
- How to Login a User inside a Plugin and Redirect to page?
- admin-post.php form handling only working when logged in as admin
- Metabox types list
- Gutenberg component in a plugin admin
- Custom Admin Plugin – Injecting repeatable select fields (add, remove) into an Ordered List
- WP Query date_query with several date range
- Add_action not calling callback function
- React in plugins: REST endpoints vs. regular functions
- Add a new tag based on the category name in the publish event
- WordPress function is not called and ajax return 0
- Post Pagination does not working on WP-Query
- Caption Shortcode: what filter to change the image size?
- Plugin options page: grouping checkboxes
- How to search on the field that stores escaped strings?
- Issue on Getting WP Gallery Items In cpt-single.php As Attachments
- Plugin translation not being displayed
- Adding Meta box to thrid-party plugin
- Identifying a Page Containing Shortcode at `init`
- Show Metabox Images in slideshow instead of static
- How to conditionally include a custom field on category editor screen not category “add” screen
- Method not receiving attributes from shortcode call, general OOP problems
- Custom Nav Walker $item->url producing malformed hyperlinks
- Extend Plugin that creates an endpoint for GET request to also accepts POST requests
- WordPress plugin options page not saving options, no errors
- WordPress database error: [Table ‘bitnami_wordpress.questions’ doesn’t exist]
- How to manage different tier plugin subscriptions to users
- Plugin submission denied for “Calling file locations poorly” when using WP_PLUGIN_DIR constant