Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

settings-api

Home/ settings-api

plugins – Question: It is possible to pass $args that sent by add_settings_field() inside another function?

Question
I'm trying To do my plugin Setting with OOP PHP when I'm Creating Setting Filed it sends $args so I can use it in their function, but when I call this function in another place it is for $args and it's undefined. here are my codes:
0
Tom J Nowell 2 days 0 Answers 0 views

admin – Settings API not saving values to database

Question
Here is what I'm attempting to do: I have two fields called Client ID and Client Secret. I would like to save each individual item in the database as the following keys: instagram_client_id and instagram_client_se
0
Sema 3 months 0 Answers 0 views

settings api – How I can Make two input field at add_settings_section

Question
How I can make two input fields in the add_settings_section? I want the First Input type to be text The second Input type is the Select option and Inside Foreach and here is an exmple: function myplugin_function($args){ global $plugin_ge
0
Ahmed java 5 months 0 Answers 0 views

403 Error When Fetching Data from the Settings Rest Route for Non-Admin Users

Question
I am using the /settings/ rest api endpoint to check plugin's options and display data based on these options in the Block Editor's sidebar (inside WordPress admin only). The code is working fine for admin users, however, for other user role
0
Badan 8 months 0 Answers 0 views

options – Call require_once form admin page with checkbox

Question
I'm creating a custom WP plugin. Inside my main file I've includes the following line of code: define( 'MY_MODULES_PATH', MY_PLUGIN_PATH . 'modules/' ); require_once MY_MODULES_PATH . 'module_1.php'; require_once MY_MODULES_PATH . 'module
0
AartStaartjes 10 months 0 Answers 0 views

WooCommerce settings API set checkbox checked by default

Question
0
Uriahs Victor 11 months 0 Answers 0 views

options – Retrieve my custom settings in the settings/ API endpoint

Question
I did read this post: Serialized settings in rest api and while I am actually convinced the answer is what I need, I cannot make it work.
0
Balessan 1 year 0 Answers 0 views
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • 404 error - Page not

    ...

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.