You must be thinking something like this:
In this URL: https://myawesomewebsite.com/page?custom_id=456
function check_parameter_in_url() {
if ( isset( $_GET['custom_id'] ) {
//do something
}
}
Related Posts:
- Solution to render Shortcodes in Admin Editor
- How to run a function every 5 minutes?
- Define page template in wp_insert_post
- Child theme functions.php do I use php open and close tags?
- Modify Admin Bar Link
- How to override admin-bar style
- WP 4.4. responsive loads normal image after loading the responsive image
- Passing variables to templates (alternatives to globalizing variables)
- Load post with a different template?
- How can I tell if I’m on a login page? [duplicate]
- Get Category and Excerpt From wp_get_recent_posts
- Two different menus for two different locations?
- Error after editing functions.php
- How do I properly register bootstrap JavaScript into WordPress functions.php?
- Most efficient way to get custom database records from 20 buttons and 20 tables?
- Function to Download External Images to My Site
- Manipulate Output of wp_list_something: select menu instead of li’s
- how to fix Warning: Use of undefined constant _ – assumed ‘_’ (this will throw an Error in a future version of PHP)
- restore_current_blog required after switch_to_blog, if I use that in a function?
- ‘is’ functions and ‘get_query_var’ not working
- How Can I Expand the WordPress Customize window without any Plugin?
- Empty Date Returned on my function
- Woocommerce Attributes pulling in wrong data
- How to get the post_name when in preview?
- “is_new_day()” alternative for years?
- How to hide a plugin metabox for non admins when a user adds a new post
- Getting Featured Image Caption to Only Show if Populated
- Can’t check if a post has thumbnail adding filter to get_post_metadata()
- How do I create page navigation linking to each H2 within the page? [closed]
- Echo tags used to describe the theme
- How can I change a function in a parent theme via a child themes functions.php
- Automatically assign video ‘poster’ value to ‘filename’ for archive listing
- Allow Post Author to be 0 on Update
- How can I make a widget shortcode to control all the widgets?
- admin-ajax.php + load-scripts.php hanging for minutes
- Unique sequential reservation code
- Show image exactly defined to a width
- wp-admin won’t load after setting wp-login custom url
- Override the WordPress core function wp_referer_field
- Is `is_sidebar_active()` deprecated, and showing error?
- How to return hook data when multiple parameters are present?
- Generate featured images old posts
- How to add_filter html template to middle of content
- Use /prefix/postname as a slug in post_name?
- Send email to admin user when custom post type is created
- Pass variable from action back to template
- Some questions about how proper add 2 CSS file in a WordPress theme?
- Test if a post exists by category and date
- Where to call my pagination function?
- How do I pull excerpts from pages?
- Can’t locate custom image sizes defined by child theme
- How to map numbers utilizing array function
- Add attribute only to first image of every post via functions.php
- 400 Bad Request – JavaScript App calling Custom wp-json endpoint
- Check if a value exists in database table
- Add element to widgetpage
- Using functions.php to include code that’s processed inline
- why can’t i add front.css to my frontpage.php
- “All posts” in the category widget
- Are innerHTML elements visible to jQuery functions?
- how to display a page before the home page
- Help with IF has focus then… statment
- How d0 i get the number of attachments in the post
- Removing WPML Items From the WordPress Admin Bar
- How to use wp_enqueue_script properly?
- This code is supposed to only allow user to be authenticated if accountVerified is equal to 1, but it still allows user to be authenticated otherwise
- Get webpack to work on child theme
- Passing function arguments via a shortcode
- Hide ‘add to cart’ when certain value in dropdown is selected
- Enqueue script if not page template
- How do you insert code into the sidebar?
- Test CDN link from function.php or wp_enqueue_script/style?
- Help with with my function for wordpress
- Widget is displayed in two places
- Auto Resize embedded videos player
- Can site visitors view functions.php file?
- Images with overlay
- Combine multiple menus using the filter wp_nav_menu_items
- Changing author links on homepage to buddypress profiles – without affecting ability to link to author archive throughout the site
- WordPress function with attribute pass to template
- How to identify author in wordpress comments?
- Taxonomy On Index Page
- I see edit instead of read more
- Why does Featured Images not load in the backed?
- Zip all (original) images from media gallery
- How to exclude posts with empty and non-existent relational custom field with meta_query?
- How to replace words in my posts and saved new words
- Why might wptexturize have become re-enabled?
- Problem in shortcode outputting content
- How to use different jquery function of idangero swiper dependant on page template?
- Why does modifying my functions.php file always result in a server error
- wp_get_current_user->user login returns %20 for spaces
- Disable every rss feed except home feed
- If two tags in the middle i need comma
- How to assign a div class to a echo function [closed]
- Insert image between X number of posts but on specific paginated pages?
- Failed to open stream: No such file or directory in /home/search/public_html/wp-includes/functions.php on line 6852
- get last part of page url and add it as cat in wp_query
- Printing the value of 2 functions one near the other
- is there a list of actions on WordPress