Returns true or false
friends_check_friendship( bp_loggedin_user_id(), bp_displayed_user_id() )
Related Posts:
- How to redirect to post if search results only returns one post
- WordPress function like is_category for subcategory? is_subcategory?
- How to override admin-bar style
- deregister scripts on certain page
- How to display random users with avatars
- wp_get_attachment_image returns different image size
- Passing variables to templates (alternatives to globalizing variables)
- Load post with a different template?
- How to customize search result page title?
- is_front_page not working in functions.php
- How to fix a theme with page.php Default Template that accidentally deleted?
- disable comments if array exists
- WordPress Change Post Templates,but not drop down, but Image selection
- Problem using is_single() to enqueue script from functions.php
- Conditional tag is_page with a custom post type
- Using locate-template & shortcodes doesn’t appear to work
- How to update BuddyPress xprofile fields programmatically? [closed]
- Can I use require() function in a template file?
- How to set global variables in template page?
- Why isn’t is_page_template() adding a body class?
- Dequeue script in template isn’t working
- Query children and parent title
- Help to resolve Syntax error, unexpected ‘endwhile’ (T_ENDWHILE) [closed]
- How can I add an image field to BuddyPress Extended Profile Fields? [closed]
- Adjust which tempalte a page uses with a function?
- Limit posts only on home page – ideally in functions.php
- How to change menu icon which is overriden (i.e. by WooCommerce) [closed]
- Make “sidebar template” the default template for new pages
- Retrieve post modified date for specific post by post ID
- Attach parent category template to all subcategories
- Add class or ID to any WordPress function
- How to remove howdy dropdown menu content
- How to include local menu based on page id?
- How to create function from code?
- Display Password Protected external RSS in wordpress template
- How to extract the variables out from “add_shortcode” function?
- Default Gallery Edit/Template Editable?
- Enqueue scripts not working with if is page conditional tag in functions.php
- How to enable template page only for a post id page
- Selective Product Category for Carousel
- How to change login labels
- Modify a function without editing template
- Retrieve tags data in post body
- Conditional read more adjustment
- How to limit character length in BuddyPress function output [closed]
- How add various functions within 1 conditional?
- Functions For Calling Specific Elements
- Conditional Gravity Forms filter in WordPress Multisite
- Full page template function
- Create post using Ajax
- How would I add “edit profile” and “blog post” functions to front-end?
- Has is_archived() for sites in a multisite changed with WP 4.7?
- Show admin page, only if function is being used
- Function to echo (or display?) wordpress tags in the head section
- is_home() not working in functions.php file
- If is_single in functions.php
- Overwriting TwentyTwelve template file with child theme template, but lower in the hierarchy
- Prevent creating multiple image resizes in twentytwelve template
- Simplest Way to Build Custom Archives Page?
- Display ACF category image on archive and single template files
- Render page with specific id from functions.php
- How to require a config file in a template and in function.php?
- the_date() and the_time() functions display actual date an time instead of published date and time
- Load templates, pass arguments, and render output from functions.php
- Render metabox gallery in frontend
- Changing the HTML of notices in WooCommerce [closed]
- Enqueue script if not page template
- is_product_category(‘Services’) not working
- Changing author links on homepage to buddypress profiles – without affecting ability to link to author archive throughout the site
- WP Enqueue Script Error
- More than one search results page template for two searches on site
- WordPress function with attribute pass to template
- method to fetch entire tag list on archive.php
- Frontend Feature image upload not work
- Adding an IF ELSE to a function
- Javascript and Stylesheet in child page
- Newest comments first not working
- Retrieve a custom form field modified by a filter
- how to display featured image for single post for a specific category
- us states dropdown function and echo in theme template files
- How to pass a variable from a template page to the child theme functions.php
- Function the_content
- Load CSS conditional on custom field is present
- Allow the access over wp-login.php
- Shortcode to output get_header not working
- admin-ajax.php nulls all php variables
- restrict access to specific urls on a specific period of time
- Change conditional tag in wordpress without editing the core files
- Function working in single.php but not working in custom template file
- wp_enqueue_scripts called twice?
- Unhook the comment form in Buddypress
- Code in functions.php appearing on front-end and dashboard [closed]
- Sessions in word press [duplicate]
- Which template file to edit to edit homepage in Mystile [closed]
- Make a PHP file with a function
- Creating mixture of shortcodes to use in the visual/text editor
- PHP Notice: Function is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false
- My website is generating weired url parameters of paginated pages
- How to store page-{id}.php templates in custom folder
- BuddyPress Edit activity function good practice