Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,871
- Creating & Extending
- 25,908
- Requests & Feedback
- 9,550
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,179
-
@social yes and no.
Yes if you consider the example function without having ‘if’ conditionnals.
If ‘conditionnals’ is empty, return = false. If not, return true.
No if you add What’s new with bla bla…, to function, in which case you can do
return 'What's new about '. $goal .' ';
If + return are not empty, so you return $return.